From 4a43b49885b8ad8725d6efec5229ab80f8dfd5d4 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 26 Sep 2021 20:56:36 +0200 Subject: [PATCH] Add 'doc-string' declaration to defcalcmodevar * lisp/calc/calc.el (defcalcmodevar): Add 'doc-string' declaration. --- lisp/calc/calc.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index b9bdc0fd8dc..553bdc9c6ed 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -494,6 +494,7 @@ This setting only applies to floats in normal display mode.") (defmacro defcalcmodevar (var defval &optional doc) "Declare VAR as a Calc variable, with default value DEFVAL and doc-string DOC. The variable VAR will be added to `calc-mode-var-list'." + (declare (doc-string 3)) `(progn (defvar ,var ,defval ,doc) (add-to-list 'calc-mode-var-list (list (quote ,var) ,defval)))) -- 2.39.2