summaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-09-07 15:54:52 +0000
committerEli Zaretskii <eliz@gnu.org>2001-09-07 15:54:52 +0000
commit705644780d4ab9a47dad5e6ecc006600aca3b910 (patch)
tree49d489eed6ccd5ce5204dab3dbc3a1e9e4427239 /src/keyboard.h
parentef10876c4756f1f24e1bcd4b1478ab60dab0120b (diff)
downloademacs-705644780d4ab9a47dad5e6ecc006600aca3b910.tar.gz
More commentary about the role of kbd_macro_end.
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index 61a52460809..14dad977cd3 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -104,7 +104,10 @@ struct kboard
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. */