aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data.c4
-rw-r--r--src/eval.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c
index 35a6890b9bd..38cde0ff8b2 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1819,7 +1819,9 @@ a variable local to the current buffer for one particular use, use
1819while setting up a new major mode, unless they have a `permanent-local' 1819while setting up a new major mode, unless they have a `permanent-local'
1820property. 1820property.
1821 1821
1822The function `default-value' gets the default value and `set-default' sets it. */) 1822The function `default-value' gets the default value and `set-default' sets it.
1823
1824See also `defvar-local'. */)
1823 (register Lisp_Object variable) 1825 (register Lisp_Object variable)
1824{ 1826{
1825 struct Lisp_Symbol *sym; 1827 struct Lisp_Symbol *sym;
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
818variable. 818variable.
819 819
820To define a user option, use `defcustom' instead of `defvar'. 820To define a user option, use `defcustom' instead of `defvar'.
821
822To define a buffer-local variable, use `defvar-local'.
821usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */) 823usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */)
822 (Lisp_Object args) 824 (Lisp_Object args)
823{ 825{