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/cmds.c | |
| parent | 7d0da90e7b98f5c09df82be9985cc27d30adea07 (diff) | |
| download | emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.tar.gz emacs-cd3520a41df21d80a9d894c58af2daba23c8dd24.zip | |
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) | |||
| 511 | void | 511 | void |
| 512 | syms_of_cmds (void) | 512 | syms_of_cmds (void) |
| 513 | { | 513 | { |
| 514 | Qkill_backward_chars = intern_c_string ("kill-backward-chars"); | 514 | DEFSYM (Qkill_backward_chars, "kill-backward-chars"); |
| 515 | staticpro (&Qkill_backward_chars); | 515 | DEFSYM (Qkill_forward_chars, "kill-forward-chars"); |
| 516 | 516 | DEFSYM (Qoverwrite_mode_binary, "overwrite-mode-binary"); | |
| 517 | Qkill_forward_chars = intern_c_string ("kill-forward-chars"); | 517 | DEFSYM (Qexpand_abbrev, "expand-abbrev"); |
| 518 | staticpro (&Qkill_forward_chars); | 518 | DEFSYM (Qpost_self_insert_hook, "post-self-insert-hook"); |
| 519 | |||
| 520 | Qoverwrite_mode_binary = intern_c_string ("overwrite-mode-binary"); | ||
| 521 | staticpro (&Qoverwrite_mode_binary); | ||
| 522 | |||
| 523 | Qexpand_abbrev = intern_c_string ("expand-abbrev"); | ||
| 524 | staticpro (&Qexpand_abbrev); | ||
| 525 | |||
| 526 | Qpost_self_insert_hook = intern_c_string ("post-self-insert-hook"); | ||
| 527 | staticpro (&Qpost_self_insert_hook); | ||
| 528 | 519 | ||
| 529 | DEFVAR_LISP ("post-self-insert-hook", Vpost_self_insert_hook, | 520 | DEFVAR_LISP ("post-self-insert-hook", Vpost_self_insert_hook, |
| 530 | doc: /* Hook run at the end of `self-insert-command'. | 521 | doc: /* Hook run at the end of `self-insert-command'. |