summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-24 17:44:40 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-24 19:11:11 +0200
commit60edb5da34c2cdf1e156cbf48fe3d426894bcc99 (patch)
treee3825fc6aec4b51206a0e39ca2dccb2a130b9c19
parente4fd4962ac1847390ed4ac59144ffc53254e7078 (diff)
downloademacs-60edb5da34c2cdf1e156cbf48fe3d426894bcc99.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.
-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))