summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-01-31 08:46:02 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-01-31 08:46:02 +0100
commit5cf9b915fa3557b4cd9e36ef8068d40b68ee485a (patch)
tree66fd3d8062ceced7527adc5e5b7b1e152d3cc6fc
parentd88e12aa19c42ceda39eacfe223c00d24bf31d3d (diff)
downloademacs-5cf9b915fa3557b4cd9e36ef8068d40b68ee485a.tar.gz
execute-kbd-macro doc string clarification
* src/macros.c (Fexecute_kbd_macro): Mention that the buffer is (potentially) changed (bug#37396).
-rw-r--r--src/macros.c5
1 files changed, 4 insertions, 1 deletions
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;