mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-06 20:49:33 +00:00
Mention M-n' for VALUE in the
set-variable' command
* lisp/simple.el (set-variable): Mention that the current variable is accessible in `M-n' (bug#36586).
This commit is contained in:
parent
a249b1fa33
commit
ea75c1a78b
@ -8008,7 +8008,12 @@ For a variable defined with `defcustom', it does not pay attention to
|
||||
any :set property that the variable might have (if you want that, use
|
||||
\\[customize-set-variable] instead).
|
||||
|
||||
With a prefix argument, set VARIABLE to VALUE buffer-locally."
|
||||
With a prefix argument, set VARIABLE to VALUE buffer-locally.
|
||||
|
||||
When called interactively, the user is prompted for VARIABLE and
|
||||
then VALUE. The current value of VARIABLE will be put in the
|
||||
minibuffer history so that it can be accessed with `M-n', which
|
||||
makes it easier to edit it."
|
||||
(interactive
|
||||
(let* ((default-var (variable-at-point))
|
||||
(var (if (custom-variable-p default-var)
|
||||
|
Loading…
x
Reference in New Issue
Block a user