Mercurial > emacs
changeset 105878:0b36e1e1cf47
* keymap.c (syms_of_keymap): Construct exclude_keys in pure memory.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 06 Nov 2009 07:49:31 +0000 |
parents | 21bdda3ded62 |
children | b4f29dbe3ee7 |
files | src/ChangeLog src/keymap.c |
diffstat | 2 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Nov 06 06:50:52 2009 +0000 +++ b/src/ChangeLog Fri Nov 06 07:49:31 2009 +0000 @@ -1,5 +1,7 @@ 2009-11-06 Dan Nicolaescu <dann@ics.uci.edu> + * keymap.c (syms_of_keymap): Construct exclude_keys in pure memory. + * xterm.c (syms_of_xterm): * xselect.c (syms_of_xselect): * xmenu.c (syms_of_xmenu):
--- a/src/keymap.c Fri Nov 06 06:50:52 2009 +0000 +++ b/src/keymap.c Fri Nov 06 07:49:31 2009 +0000 @@ -3945,11 +3945,11 @@ Ffset (intern_c_string ("Control-X-prefix"), control_x_map); exclude_keys - = Fcons (Fcons (build_string ("DEL"), build_string ("\\d")), - Fcons (Fcons (build_string ("TAB"), build_string ("\\t")), - Fcons (Fcons (build_string ("RET"), build_string ("\\r")), - Fcons (Fcons (build_string ("ESC"), build_string ("\\e")), - Fcons (Fcons (build_string ("SPC"), build_string (" ")), + = pure_cons (pure_cons (make_pure_c_string ("DEL"), make_pure_c_string ("\\d")), + pure_cons (pure_cons (make_pure_c_string ("TAB"), make_pure_c_string ("\\t")), + pure_cons (pure_cons (make_pure_c_string ("RET"), make_pure_c_string ("\\r")), + pure_cons (pure_cons (make_pure_c_string ("ESC"), make_pure_c_string ("\\e")), + pure_cons (pure_cons (make_pure_c_string ("SPC"), make_pure_c_string (" ")), Qnil))))); staticpro (&exclude_keys);