summaryrefslogtreecommitdiff
path: root/lisp/custom.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-24 17:44:40 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-26 13:23:57 +0200
commit89bac05aaaf5d8cf0c54382d4150cfad35e04f3c (patch)
treebecd2c4153d0541aff0dd0eace72e19e039120fb /lisp/custom.el
parent8c3ec4e3ccf8b675195d173c207ff3accfca5301 (diff)
downloademacs-89bac05aaaf5d8cf0c54382d4150cfad35e04f3c.tar.gz
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.
Diffstat (limited to 'lisp/custom.el')
-rw-r--r--lisp/custom.el2
1 files changed, 1 insertions, 1 deletions
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))