mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
Add cross-references to defvar-local
* src/data.c (Fmake_variable_buffer_local): * src/eval.c (Fdefvar): Add cross-references to 'defvar-local'.
This commit is contained in:
parent
a6be184614
commit
f215332c8b
2 changed files with 5 additions and 1 deletions
|
|
@ -1819,7 +1819,9 @@ a variable local to the current buffer for one particular use, use
|
|||
while setting up a new major mode, unless they have a `permanent-local'
|
||||
property.
|
||||
|
||||
The function `default-value' gets the default value and `set-default' sets it. */)
|
||||
The function `default-value' gets the default value and `set-default' sets it.
|
||||
|
||||
See also `defvar-local'. */)
|
||||
(register Lisp_Object variable)
|
||||
{
|
||||
struct Lisp_Symbol *sym;
|
||||
|
|
|
|||
|
|
@ -818,6 +818,8 @@ The optional argument DOCSTRING is a documentation string for the
|
|||
variable.
|
||||
|
||||
To define a user option, use `defcustom' instead of `defvar'.
|
||||
|
||||
To define a buffer-local variable, use `defvar-local'.
|
||||
usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */)
|
||||
(Lisp_Object args)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue