emacs-diffs
[Top][All Lists]
Advanced

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

master 89bac05 5/6: Avoid warning about long docstring lines in defcusto


From: Stefan Kangas
Subject: master 89bac05 5/6: Avoid warning about long docstring lines in defcustom
Date: Sun, 26 Sep 2021 07:35:08 -0400 (EDT)

branch: master
commit 89bac05aaaf5d8cf0c54382d4150cfad35e04f3c
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Avoid warning about long docstring lines in defcustom
    
    * lisp/custom.el (defcustom): Avoid warning about long docstring
    lines.  This was caused by the value of the defcustom being treated as
    docstring due to it being wrapped in a lambda.
---
 lisp/custom.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/custom.el b/lisp/custom.el
index f392bd8..858b158 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -378,7 +378,7 @@ for more information."
          ;; expression is checked by the byte-compiler, and that
          ;; lexical-binding is obeyed, so quote the expression with
          ;; `lambda' rather than with `quote'.
-         ``(funcall #',(lambda () ,standard))
+         ``(funcall #',(lambda () "" ,standard))
        `',standard)
     ,doc
     ,@args))



reply via email to

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