auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ff65b9b4 1/2: Avoid compiler warnings with long function names


From: Arash Esbati
Subject: master ff65b9b4 1/2: Avoid compiler warnings with long function names
Date: Mon, 19 Dec 2022 15:27:56 -0500 (EST)

branch: master
commit ff65b9b4d088b98387c13388ad63a83f4816ab5b
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@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 9671d5f3..e032d8c5 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]