1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

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.
This commit is contained in:
Stefan Kangas 2021-09-24 17:44:40 +02:00
parent 8c3ec4e3cc
commit 89bac05aaa

View File

@ -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))