aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuc Teirlinck2004-07-29 01:41:36 +0000
committerLuc Teirlinck2004-07-29 01:41:36 +0000
commit733f68b6ec84cfe592f16a1c49a69b5693eabab9 (patch)
tree53697b8796410b1855d2a6948d5d09485820f9ea /src
parent31f98a937c1f1ef2576e5225e8007f1398df00fe (diff)
downloademacs-733f68b6ec84cfe592f16a1c49a69b5693eabab9.tar.gz
emacs-733f68b6ec84cfe592f16a1c49a69b5693eabab9.zip
(Fdefvar, Fdefconst): Doc fixes.
Diffstat (limited to 'src')
-rw-r--r--src/eval.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index f28105ac987..ee74215b2ee 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -742,6 +742,13 @@ If DOCSTRING starts with *, this variable is identified as a user option.
742 This means that M-x set-variable recognizes it. 742 This means that M-x set-variable recognizes it.
743 See also `user-variable-p'. 743 See also `user-variable-p'.
744If INITVALUE is missing, SYMBOL's value is not set. 744If INITVALUE is missing, SYMBOL's value is not set.
745
746If SYMBOL has a local binding, then this form affects the local
747binding. This is usually not what you want. Thus, if you need to
748load a file defining variables, with this form or with `defconst' or
749`defcustom', you should always load that file _outside_ any bindings
750for these variables. \(`defconst' and `defcustom' behave similarly in
751this respect.)
745usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */) 752usage: (defvar SYMBOL &optional INITVALUE DOCSTRING) */)
746 (args) 753 (args)
747 Lisp_Object args; 754 Lisp_Object args;
@@ -784,6 +791,10 @@ Always sets the value of SYMBOL to the result of evalling INITVALUE.
784If SYMBOL is buffer-local, its default value is what is set; 791If SYMBOL is buffer-local, its default value is what is set;
785 buffer-local values are not affected. 792 buffer-local values are not affected.
786DOCSTRING is optional. 793DOCSTRING is optional.
794
795If SYMBOL has a local binding, then this form sets the local binding's
796value. However, you should normally not make local bindings for
797variables defined with this form.
787usage: (defconst SYMBOL INITVALUE [DOCSTRING]) */) 798usage: (defconst SYMBOL INITVALUE [DOCSTRING]) */)
788 (args) 799 (args)
789 Lisp_Object args; 800 Lisp_Object args;