[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 89bac05 5/6: Avoid warning about long docstring lines in defcusto
From: |
Stefan Kangas |
Subject: |
master 89bac05 5/6: Avoid warning about long docstring lines in defcustom |
Date: |
Sun, 26 Sep 2021 07:35:08 -0400 (EDT) |
branch: master
commit 89bac05aaaf5d8cf0c54382d4150cfad35e04f3c
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))
- master updated (f4ea159 -> c51b1c0), Stefan Kangas, 2021/09/26
- master 89bac05 5/6: Avoid warning about long docstring lines in defcustom,
Stefan Kangas <=
- master c78e169 1/6: ; Adjust overly long docstrings to fit 80 characters, Stefan Kangas, 2021/09/26
- master 8c3ec4e 4/6: Fill some auto-generated docstring lines, Stefan Kangas, 2021/09/26
- master c51b1c0 6/6: Warn about overly long docstring in lambda, Stefan Kangas, 2021/09/26
- master 44da8dd 2/6: Improve filling of generated docstring lines, Stefan Kangas, 2021/09/26
- master f3a6fe2 3/6: Avoid false positives in bytecomp docstring width warning, Stefan Kangas, 2021/09/26