1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 16:41:45 -08:00
Commit graph

63 commits

Author SHA1 Message Date
Glenn Morris
684d6f5bcc Switch license to GPLv3 or later. 2007-07-25 05:19:07 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Kim F. Storm
d76592ae11 (Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING. 2006-07-12 13:19:42 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Kim F. Storm
649d952dcc (executing_kbd_macro_index): Rename from executing_macro_index.
(executing_kbd_macro_iterations): Rename from executing_macro_iterations.
(executing_kbd_macro): Rename from executing_macro.

* macro.c (syms_of_macros): Rename Lisp var executing-macro-index to
executing-kbd-macro-index.
2005-05-02 10:32:40 +00:00
Richard M. Stallman
524ed533b0 (Vexecuting_kbd_macro): Renamed from Vexecuting_macro. All uses changed.
(syms_of_macros): Define only executing-kbd-macro, not executing-macro.
2005-05-01 18:48:26 +00:00
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