1
Fork 0
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:
Stefan Kangas 2021-02-01 01:43:29 +01:00
parent a6be184614
commit f215332c8b
2 changed files with 5 additions and 1 deletions

View file

@ -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;

View file

@ -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)
{