mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Add 'doc-string' declaration to defcalcmodevar
* lisp/calc/calc.el (defcalcmodevar): Add 'doc-string' declaration.
This commit is contained in:
parent
c00785cbab
commit
4a43b49885
1 changed files with 1 additions and 0 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue