diff options
| author | Juanma Barranquero | 2011-06-24 23:25:22 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2011-06-24 23:25:22 +0200 |
| commit | cd3520a41df21d80a9d894c58af2daba23c8dd24 (patch) | |
| tree | 945eaef322c65471833954ddce161a7a913ee3c8 /src/macros.c | |
| parent | 7d0da90e7b98f5c09df82be9985cc27d30adea07 (diff) | |
| download | emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.tar.gz emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.zip | |
Move DEFSYM to lisp.h and use everywhere.
Diffstat (limited to 'src/macros.c')
| -rw-r--r-- | src/macros.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/macros.c b/src/macros.c index ea33dbf2d2c..60f30c3fbbe 100644 --- a/src/macros.c +++ b/src/macros.c | |||
| @@ -367,15 +367,13 @@ init_macros (void) | |||
| 367 | void | 367 | void |
| 368 | syms_of_macros (void) | 368 | syms_of_macros (void) |
| 369 | { | 369 | { |
| 370 | Qexecute_kbd_macro = intern_c_string ("execute-kbd-macro"); | 370 | DEFSYM (Qexecute_kbd_macro, "execute-kbd-macro"); |
| 371 | staticpro (&Qexecute_kbd_macro); | ||
| 372 | 371 | ||
| 373 | DEFVAR_LISP ("kbd-macro-termination-hook", Vkbd_macro_termination_hook, | 372 | DEFVAR_LISP ("kbd-macro-termination-hook", Vkbd_macro_termination_hook, |
| 374 | doc: /* Normal hook run whenever a keyboard macro terminates. | 373 | doc: /* Normal hook run whenever a keyboard macro terminates. |
| 375 | This is run whether the macro ends normally or prematurely due to an error. */); | 374 | This is run whether the macro ends normally or prematurely due to an error. */); |
| 376 | Vkbd_macro_termination_hook = Qnil; | 375 | Vkbd_macro_termination_hook = Qnil; |
| 377 | Qkbd_macro_termination_hook = intern_c_string ("kbd-macro-termination-hook"); | 376 | DEFSYM (Qkbd_macro_termination_hook, "kbd-macro-termination-hook"); |
| 378 | staticpro (&Qkbd_macro_termination_hook); | ||
| 379 | 377 | ||
| 380 | defsubr (&Sstart_kbd_macro); | 378 | defsubr (&Sstart_kbd_macro); |
| 381 | defsubr (&Send_kbd_macro); | 379 | defsubr (&Send_kbd_macro); |