summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-07-05 17:21:42 -0700
committerGlenn Morris <rgm@gnu.org>2015-07-05 17:21:42 -0700
commit904be8784cfd18cd920668c1d5b3a33353c6bb5b (patch)
tree1bd51b67d7cebe9a5ee483d9a1dc42ed2d733096 /lisp/simple.el
parent23818bba0d52ea7513cecfcf7b5a70e67ff050f2 (diff)
* lisp/simple.el (set-variable): Doc fix.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 0729d8c353e..5ee32d5a787 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -7314,6 +7314,10 @@ it were the arg to `interactive' (which see) to interactively read VALUE.
If VARIABLE has been defined with `defcustom', then the type information
in the definition is used to check that VALUE is valid.
+Note that this function is at heart equivalent to the basic `set' function.
+For a VARIABLE defined with `defcustom', it is not the same as using
+\\[customize-variable].
+
With a prefix argument, set VARIABLE to VALUE buffer-locally."
(interactive
(let* ((default-var (variable-at-point))