diff options
| author | Glenn Morris | 2015-07-05 17:21:42 -0700 |
|---|---|---|
| committer | Glenn Morris | 2015-07-05 17:21:42 -0700 |
| commit | 904be8784cfd18cd920668c1d5b3a33353c6bb5b (patch) | |
| tree | 1bd51b67d7cebe9a5ee483d9a1dc42ed2d733096 | |
| parent | 23818bba0d52ea7513cecfcf7b5a70e67ff050f2 (diff) | |
| download | emacs-904be8784cfd18cd920668c1d5b3a33353c6bb5b.tar.gz emacs-904be8784cfd18cd920668c1d5b3a33353c6bb5b.zip | |
* lisp/simple.el (set-variable): Doc fix.
| -rw-r--r-- | lisp/simple.el | 4 |
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. | |||
| 7314 | If VARIABLE has been defined with `defcustom', then the type information | 7314 | If VARIABLE has been defined with `defcustom', then the type information |
| 7315 | in the definition is used to check that VALUE is valid. | 7315 | in the definition is used to check that VALUE is valid. |
| 7316 | 7316 | ||
| 7317 | Note that this function is at heart equivalent to the basic `set' function. | ||
| 7318 | For a VARIABLE defined with `defcustom', it is not the same as using | ||
| 7319 | \\[customize-variable]. | ||
| 7320 | |||
| 7317 | With a prefix argument, set VARIABLE to VALUE buffer-locally." | 7321 | With a prefix argument, set VARIABLE to VALUE buffer-locally." |
| 7318 | (interactive | 7322 | (interactive |
| 7319 | (let* ((default-var (variable-at-point)) | 7323 | (let* ((default-var (variable-at-point)) |