diff options
| author | Stefan Kangas | 2021-02-01 01:43:29 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2021-02-01 12:29:09 +0100 |
| commit | f215332c8be43ef0dc838e2a63012aba791818c2 (patch) | |
| tree | 3ba0e58f363dfabac656a958a060fb9e894c279f /src/eval.c | |
| parent | a6be18461471b0889ded6084693664927a041704 (diff) | |
| download | emacs-f215332c8be43ef0dc838e2a63012aba791818c2.tar.gz emacs-f215332c8be43ef0dc838e2a63012aba791818c2.zip | |
Add cross-references to defvar-local
* src/data.c (Fmake_variable_buffer_local):
* src/eval.c (Fdefvar): Add cross-references to 'defvar-local'.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c index 5bf3faebc85..3aff3b56d52 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -818,6 +818,8 @@ The optional argument DOCSTRING is a documentation string for the | |||
| 818 | variable. | 818 | variable. |
| 819 | 819 | ||
| 820 | To define a user option, use `defcustom' instead of `defvar'. | 820 | To define a user option, use `defcustom' instead of `defvar'. |
| 821 | |||
| 822 | To define a buffer-local variable, use `defvar-local'. | ||
| 821 | usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */) | 823 | usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */) |
| 822 | (Lisp_Object args) | 824 | (Lisp_Object args) |
| 823 | { | 825 | { |