emacs-diffs
[Top][All Lists]
Advanced

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

master 5cf9b91: execute-kbd-macro doc string clarification


From: Lars Ingebrigtsen
Subject: master 5cf9b91: execute-kbd-macro doc string clarification
Date: Sun, 31 Jan 2021 02:46:21 -0500 (EST)

branch: master
commit 5cf9b915fa3557b4cd9e36ef8068d40b68ee485a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    execute-kbd-macro doc string clarification
    
    * src/macros.c (Fexecute_kbd_macro): Mention that the buffer is
    (potentially) changed (bug#37396).
---
 src/macros.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/macros.c b/src/macros.c
index c8ce94e..60d0766 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -279,7 +279,10 @@ its function definition is used.
 COUNT is a repeat count, or nil for once, or 0 for infinite loop.
 
 Optional third arg LOOPFUNC may be a function that is called prior to
-each iteration of the macro.  Iteration stops if LOOPFUNC returns nil.  */)
+each iteration of the macro.  Iteration stops if LOOPFUNC returns nil.
+
+The buffer shown in the currently selected window will be made the current
+buffer before the macro is executed.  */)
   (Lisp_Object macro, Lisp_Object count, Lisp_Object loopfunc)
 {
   Lisp_Object final;



reply via email to

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