diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-12-21 17:11:28 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-12-21 17:11:28 +0000 |
commit | 2d5f65a99406bc06edc48c759ace5ea2a8213084 (patch) | |
tree | 8bb84a55610029645b5724ccad15227708c462d6 /src/macros.c | |
parent | d36b882672cc704873f49d4dcc42716d8126fa09 (diff) | |
download | emacs-2d5f65a99406bc06edc48c759ace5ea2a8213084.tar.gz |
(Fstore_kbd_macro_event): New function.
(syms_of_macros): defsubr it.
Diffstat (limited to 'src/macros.c')
-rw-r--r-- | src/macros.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/macros.c b/src/macros.c index 7b2cd3d4235..bbf5661377c 100644 --- a/src/macros.c +++ b/src/macros.c @@ -155,6 +155,16 @@ DEFUN ("cancel-kbd-macro-events", Fcancel_kbd_macro_events, { current_kboard->kbd_macro_ptr = current_kboard->kbd_macro_end; } + +DEFUN ("store-kbd-macro-event", Fstore_kbd_macro_event, + Sstore_kbd_macro_event, 1, 1, 0, + "Store EVENT into the keyboard macro being defined.") + (event) + Lisp_Object event; +{ + store_kbd_macro_char (event); + return Qnil; +} DEFUN ("call-last-kbd-macro", Fcall_last_kbd_macro, Scall_last_kbd_macro, 0, 1, "p", @@ -247,6 +257,7 @@ syms_of_macros () defsubr (&Scall_last_kbd_macro); defsubr (&Sexecute_kbd_macro); defsubr (&Scancel_kbd_macro_events); + defsubr (&Sstore_kbd_macro_event); DEFVAR_KBOARD ("defining-kbd-macro", defining_kbd_macro, "Non-nil while a keyboard macro is being defined. Don't set this!"); |