summaryrefslogtreecommitdiff
path: root/src/macros.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2011-06-24 23:25:22 +0200
committerJuanma Barranquero <lekktu@gmail.com>2011-06-24 23:25:22 +0200
commitcd3520a41df21d80a9d894c58af2daba23c8dd24 (patch)
tree945eaef322c65471833954ddce161a7a913ee3c8 /src/macros.c
parent7d0da90e7b98f5c09df82be9985cc27d30adea07 (diff)
Move DEFSYM to lisp.h and use everywhere.
Diffstat (limited to 'src/macros.c')
-rw-r--r--src/macros.c6
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)
void
syms_of_macros (void)
{
- Qexecute_kbd_macro = intern_c_string ("execute-kbd-macro");
- staticpro (&Qexecute_kbd_macro);
+ DEFSYM (Qexecute_kbd_macro, "execute-kbd-macro");
DEFVAR_LISP ("kbd-macro-termination-hook", Vkbd_macro_termination_hook,
doc: /* Normal hook run whenever a keyboard macro terminates.
This is run whether the macro ends normally or prematurely due to an error. */);
Vkbd_macro_termination_hook = Qnil;
- Qkbd_macro_termination_hook = intern_c_string ("kbd-macro-termination-hook");
- staticpro (&Qkbd_macro_termination_hook);
+ DEFSYM (Qkbd_macro_termination_hook, "kbd-macro-termination-hook");
defsubr (&Sstart_kbd_macro);
defsubr (&Send_kbd_macro);