changeset 39188:9b80cbcb8915

More commentary about the role of kbd_macro_end.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 07 Sep 2001 15:54:52 +0000
parents dd2b6c7746f3
children 45d6d104c4f2
files src/keyboard.h
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.h	Fri Sep 07 15:37:45 2001 +0000
+++ b/src/keyboard.h	Fri Sep 07 15:54:52 2001 +0000
@@ -104,7 +104,10 @@
        ends before this.  This is not the same as kbd_macro_ptr, because
        we advance this to kbd_macro_ptr when a key's command is complete.
        This way, the keystrokes for "end-kbd-macro" are not included in the
-       macro.  */
+       macro.  This also allows us to throw away the events added to the
+       macro by the last command: all the events between kbd_macro_end and
+       kbd_macro_ptr belong to the last command; see
+       cancel-kbd-macro-events.  */
     Lisp_Object *kbd_macro_end;
 
     /* Allocated size of kbd_macro_buffer.  */