mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Doc updates for defvar, defconst, and defcustom.
* lisp/custom.el (defcustom): Doc fix; note use of defvar. * src/eval.c (Fdefvar, Fdefconst): Doc fix; note that the variable is marked as special. Also, starting docstrings with * is obsolete.
This commit is contained in:
parent
9f26dc2432
commit
c3a70e2b95
4 changed files with 41 additions and 19 deletions
|
|
@ -208,7 +208,11 @@ is unbound. The expression itself is also stored, so that
|
|||
Customize can re-evaluate it later to get the standard value.
|
||||
DOC is the variable documentation.
|
||||
|
||||
The remaining arguments should have the form
|
||||
This macro uses `defvar' as a subroutine, which also marks the
|
||||
variable as \"special\", so that it is always dynamically bound
|
||||
even when `lexical-binding' is t.
|
||||
|
||||
The remaining arguments to `defcustom' should have the form
|
||||
|
||||
[KEYWORD VALUE]...
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue