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 | 0428a0afbb85db70462d9bf3745c4f89363bba31 (patch) | |
tree | e90ec1a9c8ad9cadf25cafbea5354d3769ace879 /src/macros.c | |
parent | c94230c548f0bacd5ba78686f73f4ab3ea87f32b (diff) | |
download | emacs-0428a0afbb85db70462d9bf3745c4f89363bba31.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!"); |