Commit graph

55 commits

Author SHA1 Message Date
Luc Teirlinck
6cf374b13f (syms_of_macros) <defining-kbd-macro>: Doc fix. 2004-11-05 22:46:28 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
3499aebffc (Fstart_kbd_macro): Remove redundant assignment. 2003-02-22 22:19:31 +00:00
Kim F. Storm
295fff2c70 (Fstart_kbd_macro): If appending, and last keyboard
macro is a string, convert meta modifiers in string when copying
the string into a vector.
2003-02-12 11:08:36 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Kim F. Storm
eeb8fc0d23 (end_kbd_macro): New function.
(Fend_kbd_macro): Use it.
2002-09-09 22:33:51 +00:00
Kim F. Storm
64799df53a (executing_macro_index): Change type to EMACS_INT.
(syms_of_macros): DEFVAR_INT it  (needed by kmacro).
2002-09-08 20:28:46 +00:00
Kim F. Storm
f90d3a6bff (Fstart_kbd_macro): Added NO-EXEC argument to inhibit
executing macro before appending to it (when used from Lisp).
(Fexecute_kbd_macro): Added LOOPFUNC argument to supply function
which is called prior to each iteration of macro (for kmacro.el).
(Fend_kbd_macro, Fcall_last_kbd_macro): Likewise.
2002-08-14 10:35:31 +00:00
Juanma Barranquero
65b2165811 Use macro SPECPDL_INDEX. 2002-07-11 15:24:13 +00:00
Pavel Janík
70da46c31c Change doc-string comments to new style' [w/doc:' keyword]. 2001-12-11 06:23:50 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Stefan Monnier
ed97db1359 Don't include keymap.h any more. 2001-11-02 04:49:57 +00:00
Stefan Monnier
e4247361e0 (keys_of_macros): Remove. 2001-10-31 02:19:05 +00:00
Stefan Monnier
e35f6ff793 Include keymap.h. 2001-10-10 16:05:21 +00:00
Gerd Moellmann
08e1d6dfd6 (store_kbd_macro_char): Fix computation of kbd_macro_end. 2001-09-05 09:39:09 +00:00
Gerd Moellmann
1486b4630e (Fstart_kbd_macro): Doc fix. 2001-05-28 15:01:34 +00:00
Gerd Moellmann
2136b40855 (Qkbd_macro_termination_hook): New variable.
(syms_of_macros): Initialize and staticpro it.
(pop_kbd_macro): Run kbd-macro-termination-hook.
2001-01-08 12:23:32 +00:00
Gerd Moellmann
23751e2577 (store_kbd_macro_char): Change the way buffers are
reallocated to be portable and less obfuscated.
2000-12-08 09:59:12 +00:00
Gerd Moellmann
6bbd7a2959 Avoid some more compiler warnings. 2000-09-21 20:54:57 +00:00
Richard M. Stallman
f84db7d56a (Fstart_kbd_macro): Handle case where last-kbd-macro
has been changed by the Lisp code.
1999-12-13 03:50:21 +00:00
Karl Heuer
80184dac07 (Fexecute_kbd_macro): Save real_this_command.
(pop_kbd_macro): Restore the saved real_this_command.
(Fcall_last_kbd_macro): Set real_this_command to the macro.
1999-03-30 18:02:13 +00:00
Karl Heuer
4b7da890ac (Fexecute_kbd_macro): Initialize executing_macro_iterations at beginning. 1999-03-14 06:33:01 +00:00
Richard M. Stallman
b80d5655b0 (Fexecute_kbd_macro): Set real_this_command. 1998-10-12 20:03:15 +00:00
Richard M. Stallman
14a18790a4 (Fcall_last_kbd_macro): this_command renamed to Vthis_command. 1998-08-09 21:55:58 +00:00
Richard M. Stallman
d86ad277e5 (Fexecute_kbd_macro): Fix error message.
(Fend_kbd_macro): Fix error message.
1998-08-06 05:36:45 +00:00
Andreas Schwab
c3fd8dd552 (store_kbd_macro_char): Define as returning nothing.
(finalize_kbd_macro_chars): Likewise.
(init_macros): Likewise.
(syms_of_macros): Likewise.
(keys_of_macros): Likewise.
1997-11-21 13:03:55 +00:00
Richard M. Stallman
4315204e5b (Fcall_last_kbd_macro): Set this_command from last_command
on entry and again on exit.
1996-11-11 20:33:21 +00:00
Erik Naggum
1ab778be05 (init_macros): Initialize executing_macro, too. 1996-08-29 21:22:04 +00:00
Richard M. Stallman
d4087e062b (executing_macro_iterations, executing_macro): New vars.
(Fexecute_kbd_macro): Set them.
1996-08-29 04:38:05 +00:00
Karl Heuer
96a6034956 (Fstart_kbd_macro): Add missing xrealloc arg. 1996-05-12 20:07:43 +00:00
Karl Heuer
9e7c370a5b * macros.c (Fstart_kbd_macro): Use xmalloc.
Shrink the kbd macro buffer if it is very big.
1996-01-24 23:41:04 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Erik Naggum
1c8c569380 (Fexecute_kbd_macro): Reindent properly. 1996-01-09 03:58:16 +00:00
Karl Heuer
52d9c1459d (Fexecute_kbd_macro): Local var `pdlcount' renamed from
`count' to remove collision with recently renamed argument.
1996-01-09 02:34:30 +00:00
Erik Naggum
86a3ca5e06 (Fend_kbd_macro, Fexecute_kbd_macro): Harmonize arguments with
documentation.
1996-01-09 00:33:09 +00:00
Karl Heuer
2d5f65a994 (Fstore_kbd_macro_event): New function.
(syms_of_macros): defsubr it.
1995-12-21 17:11:28 +00:00
Richard M. Stallman
199afd290f (Fcancel_kbd_macro_events): New function.
(syms_of_macros): defsubr it.
1995-08-13 15:47:11 +00:00
Karl Heuer
04609ce412 (Fexecute_kbd_macro): Vprefix_arg is now part of kboard. 1995-06-07 22:24:23 +00:00
Richard M. Stallman
077d751f14 Include keyboard.h. 1995-04-10 05:33:58 +00:00
Karl Heuer
cd8b5aa348 Rename perdisplay to kboard. 1995-03-15 01:49:46 +00:00
Karl Heuer
1cb0ddb988 (Fexecute_kbd_macro): current_perdisplay now is never null. 1995-03-13 21:49:34 +00:00
Karl Heuer
9e1ffae242 (Fstart_kbd_macro): Access Vlast_kbd_macro via perdisplay.
(Fend_kbd_macro, Fcall_last_kbd_macro): Likewise.
(init_macros): Delete initialization.
(syms_of_macros): Use DEFVAR_DISPLAY for Vlast_kbd_macro.
Doc fix for executing-macro, executing-kbd-macro, last-kbd-macro.
1995-03-08 01:25:04 +00:00
Karl Heuer
8b97da83a7 (defining_kbd_macro): Delete; now part of perdisplay. All uses changed.
(kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end): Likewise.
(kbd_macro_bufsize): Likewise.
(Fstart_kbd_macro): Initialize kbd_macro_buffer if not already done.
(init_macros): Delete initialization of defining_kbd_macro.
(syms_of_macros): Delete initialization of kbd_macro_buffer.
1995-03-03 05:02:50 +00:00
Karl Heuer
f1cbbff5d2 (Fexecute_kbd_macro): Use clear_prefix_arg. 1995-03-01 03:43:41 +00:00
Karl Heuer
f5ba00909f (Fexecute_kbd_macro): Clear prefix arg here, not in command_loop_1. 1995-02-01 22:33:11 +00:00
Karl Heuer
a4773b43fe (Fend_kbd_macro, Fexecute_kbd_macro): Don't use XFASTINT as an lvalue. 1994-10-04 16:06:40 +00:00
Karl Heuer
65346ae61f (Fexecute_kbd_macro): Use type test macros. 1994-09-27 02:25:20 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Richard M. Stallman
ba8810f92a (Fend_kbd_macro): Fix call to make_event_array. 1993-03-05 23:55:44 +00:00