From 5cf9b915fa3557b4cd9e36ef8068d40b68ee485a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 31 Jan 2021 08:46:02 +0100 Subject: 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 c8ce94e63b1..60d0766a754 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; -- cgit v1.2.3