diff options
| author | Dan Nicolaescu | 2009-11-06 07:49:31 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-11-06 07:49:31 +0000 |
| commit | 5adc433ec64ffbd82f809de77fceb294fc8a93c2 (patch) | |
| tree | 0af03a15a02789b4db82e1161e25d2da096d4545 | |
| parent | d67b4f80dbe514d6e351e7d89c78921c85e7dbe7 (diff) | |
| download | emacs-5adc433ec64ffbd82f809de77fceb294fc8a93c2.tar.gz emacs-5adc433ec64ffbd82f809de77fceb294fc8a93c2.zip | |
* keymap.c (syms_of_keymap): Construct exclude_keys in pure memory.
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/keymap.c | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a0deac67367..2e913ff30b9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2009-11-06 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2009-11-06 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * keymap.c (syms_of_keymap): Construct exclude_keys in pure memory. | ||
| 4 | |||
| 3 | * xterm.c (syms_of_xterm): | 5 | * xterm.c (syms_of_xterm): |
| 4 | * xselect.c (syms_of_xselect): | 6 | * xselect.c (syms_of_xselect): |
| 5 | * xmenu.c (syms_of_xmenu): | 7 | * xmenu.c (syms_of_xmenu): |
diff --git a/src/keymap.c b/src/keymap.c index edf535f7610..c439e6c7e89 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -3945,11 +3945,11 @@ syms_of_keymap () | |||
| 3945 | Ffset (intern_c_string ("Control-X-prefix"), control_x_map); | 3945 | Ffset (intern_c_string ("Control-X-prefix"), control_x_map); |
| 3946 | 3946 | ||
| 3947 | exclude_keys | 3947 | exclude_keys |
| 3948 | = Fcons (Fcons (build_string ("DEL"), build_string ("\\d")), | 3948 | = pure_cons (pure_cons (make_pure_c_string ("DEL"), make_pure_c_string ("\\d")), |
| 3949 | Fcons (Fcons (build_string ("TAB"), build_string ("\\t")), | 3949 | pure_cons (pure_cons (make_pure_c_string ("TAB"), make_pure_c_string ("\\t")), |
| 3950 | Fcons (Fcons (build_string ("RET"), build_string ("\\r")), | 3950 | pure_cons (pure_cons (make_pure_c_string ("RET"), make_pure_c_string ("\\r")), |
| 3951 | Fcons (Fcons (build_string ("ESC"), build_string ("\\e")), | 3951 | pure_cons (pure_cons (make_pure_c_string ("ESC"), make_pure_c_string ("\\e")), |
| 3952 | Fcons (Fcons (build_string ("SPC"), build_string (" ")), | 3952 | pure_cons (pure_cons (make_pure_c_string ("SPC"), make_pure_c_string (" ")), |
| 3953 | Qnil))))); | 3953 | Qnil))))); |
| 3954 | staticpro (&exclude_keys); | 3954 | staticpro (&exclude_keys); |
| 3955 | 3955 | ||