[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/bug-44858 60edb5d 5/6: Avoid warning about long docstring lines
From: |
Stefan Kangas |
Subject: |
scratch/bug-44858 60edb5d 5/6: Avoid warning about long docstring lines in defcustom |
Date: |
Fri, 24 Sep 2021 13:19:52 -0400 (EDT) |
branch: scratch/bug-44858
commit 60edb5da34c2cdf1e156cbf48fe3d426894bcc99
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
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.
---
lisp/custom.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/custom.el b/lisp/custom.el
index f392bd8..858b158 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))
- branch scratch/bug-44858 created (now 35c459f), Stefan Kangas, 2021/09/24
- scratch/bug-44858 2f59fad 1/6: ; Adjust overly long docstrings to fit 80 characters, Stefan Kangas, 2021/09/24
- scratch/bug-44858 4e7c5a6 2/6: Improve filling of generated docstring lines, Stefan Kangas, 2021/09/24
- scratch/bug-44858 e491d97 3/6: Avoid false positives in bytecomp docstring width warning, Stefan Kangas, 2021/09/24
- scratch/bug-44858 35c459f 6/6: Warn about overly long docstring in lambda, Stefan Kangas, 2021/09/24
- scratch/bug-44858 e4fd496 4/6: Fill some auto-generated docstring lines, Stefan Kangas, 2021/09/24
- scratch/bug-44858 60edb5d 5/6: Avoid warning about long docstring lines in defcustom,
Stefan Kangas <=