emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ea75c1a 1/2: Mention `M-n' for VALUE in the `set-va


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master ea75c1a 1/2: Mention `M-n' for VALUE in the `set-variable' command
Date: Sat, 13 Jul 2019 00:46:47 -0400 (EDT)

branch: master
commit ea75c1a78bf6c622f584fd900cb64644337c1ac7
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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).
---
 lisp/simple.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index 2768bd4..00265ec 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]