From: Stefan Kangas Date: Sun, 26 Sep 2021 18:56:36 +0000 (+0200) Subject: Add 'doc-string' declaration to defcalcmodevar X-Git-Tag: emacs-28.0.90~590 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a43b49885b8ad8725d6efec5229ab80f8dfd5d4;p=emacs.git Add 'doc-string' declaration to defcalcmodevar * lisp/calc/calc.el (defcalcmodevar): Add 'doc-string' declaration. --- 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))))