From 89bac05aaaf5d8cf0c54382d4150cfad35e04f3c Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 24 Sep 2021 17:44:40 +0200 Subject: [PATCH] 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 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)) -- 2.39.2