From: Stefan Kangas Date: Fri, 24 Sep 2021 15:44:40 +0000 (+0200) Subject: Avoid warning about long docstring lines in defcustom X-Git-Tag: emacs-28.0.90~605 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=89bac05aaaf5d8cf0c54382d4150cfad35e04f3c;p=emacs.git 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. --- diff --git a/lisp/custom.el b/lisp/custom.el index f392bd8d369..858b158051c 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))