diff options
| author | Stefan Kangas <stefan@marxist.se> | 2021-09-24 17:44:40 +0200 |
|---|---|---|
| committer | Stefan Kangas <stefan@marxist.se> | 2021-09-24 19:11:11 +0200 |
| commit | 60edb5da34c2cdf1e156cbf48fe3d426894bcc99 (patch) | |
| tree | e3825fc6aec4b51206a0e39ca2dccb2a130b9c19 | |
| parent | e4fd4962ac1847390ed4ac59144ffc53254e7078 (diff) | |
| download | emacs-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.el | 2 |
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)) |
