branch: externals/auctex commit ff65b9b4d088b98387c13388ad63a83f4816ab5b Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
Avoid compiler warnings with long function names * tex.el (TeX-auto-add-type): Rearrange the auto-generated docstring in order to avoid compiler warnings for long function names. --- tex.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tex.el b/tex.el index 9671d5f30e..e032d8c5e5 100644 --- a/tex.el +++ b/tex.el @@ -3944,7 +3944,8 @@ Generated by `TeX-auto-add-type'.")) (make-variable-buffer-local ',change) (defun ,add (&rest ,(intern names)) ,(concat "Add information about " (upcase names) - " to the current buffer. + ". +Information is added to the current buffer. Generated by `TeX-auto-add-type'.") (TeX-auto-add-information ,unique-key ,(intern names))) (defun ,local ()