aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas2021-02-01 06:12:15 +0100
committerStefan Kangas2021-02-01 12:29:10 +0100
commitd987ca6f2267f5107a3e543fca4e8eaca983afa6 (patch)
treefafff15c5dbf63f53ab9b036baee1041ad43c809 /src
parent9785c6d0a5f3fa2042f2fc8f08d3c33289c68688 (diff)
downloademacs-d987ca6f2267f5107a3e543fca4e8eaca983afa6.tar.gz
emacs-d987ca6f2267f5107a3e543fca4e8eaca983afa6.zip
Remove another variable obsolete since Emacs 23.2
* src/keymap.c (syms_of_keymap, Fdefine_key): * lisp/subr.el (define-key-rebound-commands): Remove variable obsolete since Emacs 23.2.
Diffstat (limited to 'src')
-rw-r--r--src/keymap.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/keymap.c b/src/keymap.c
index de9b2b58c5e..782931fadff 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1065,9 +1065,6 @@ binding KEY to DEF is added at the front of KEYMAP. */)
1065 if (length == 0) 1065 if (length == 0)
1066 return Qnil; 1066 return Qnil;
1067 1067
1068 if (SYMBOLP (def) && !EQ (Vdefine_key_rebound_commands, Qt))
1069 Vdefine_key_rebound_commands = Fcons (def, Vdefine_key_rebound_commands);
1070
1071 int meta_bit = (VECTORP (key) || (STRINGP (key) && STRING_MULTIBYTE (key)) 1068 int meta_bit = (VECTORP (key) || (STRINGP (key) && STRING_MULTIBYTE (key))
1072 ? meta_modifier : 0x80); 1069 ? meta_modifier : 0x80);
1073 1070
@@ -3132,12 +3129,6 @@ syms_of_keymap (void)
3132 pure_cons (build_pure_c_string ("SPC"), build_pure_c_string (" "))); 3129 pure_cons (build_pure_c_string ("SPC"), build_pure_c_string (" ")));
3133 staticpro (&exclude_keys); 3130 staticpro (&exclude_keys);
3134 3131
3135 DEFVAR_LISP ("define-key-rebound-commands", Vdefine_key_rebound_commands,
3136 doc: /* List of commands given new key bindings recently.
3137This is used for internal purposes during Emacs startup;
3138don't alter it yourself. */);
3139 Vdefine_key_rebound_commands = Qt;
3140
3141 DEFVAR_LISP ("minibuffer-local-map", Vminibuffer_local_map, 3132 DEFVAR_LISP ("minibuffer-local-map", Vminibuffer_local_map,
3142 doc: /* Default keymap to use when reading from the minibuffer. */); 3133 doc: /* Default keymap to use when reading from the minibuffer. */);
3143 Vminibuffer_local_map = Fmake_sparse_keymap (Qnil); 3134 Vminibuffer_local_map = Fmake_sparse_keymap (Qnil);