diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-06-24 23:25:22 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-06-24 23:25:22 +0200 |
commit | cd3520a41df21d80a9d894c58af2daba23c8dd24 (patch) | |
tree | 945eaef322c65471833954ddce161a7a913ee3c8 /src/cmds.c | |
parent | 7d0da90e7b98f5c09df82be9985cc27d30adea07 (diff) | |
download | emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.tar.gz |
Move DEFSYM to lisp.h and use everywhere.
Diffstat (limited to 'src/cmds.c')
-rw-r--r-- | src/cmds.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/cmds.c b/src/cmds.c index 5dc4d2bfe30..f49cfc221be 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -511,20 +511,11 @@ internal_self_insert (int c, EMACS_INT n) void syms_of_cmds (void) { - Qkill_backward_chars = intern_c_string ("kill-backward-chars"); - staticpro (&Qkill_backward_chars); - - Qkill_forward_chars = intern_c_string ("kill-forward-chars"); - staticpro (&Qkill_forward_chars); - - Qoverwrite_mode_binary = intern_c_string ("overwrite-mode-binary"); - staticpro (&Qoverwrite_mode_binary); - - Qexpand_abbrev = intern_c_string ("expand-abbrev"); - staticpro (&Qexpand_abbrev); - - Qpost_self_insert_hook = intern_c_string ("post-self-insert-hook"); - staticpro (&Qpost_self_insert_hook); + DEFSYM (Qkill_backward_chars, "kill-backward-chars"); + DEFSYM (Qkill_forward_chars, "kill-forward-chars"); + DEFSYM (Qoverwrite_mode_binary, "overwrite-mode-binary"); + DEFSYM (Qexpand_abbrev, "expand-abbrev"); + DEFSYM (Qpost_self_insert_hook, "post-self-insert-hook"); DEFVAR_LISP ("post-self-insert-hook", Vpost_self_insert_hook, doc: /* Hook run at the end of `self-insert-command'. |