aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2009-09-11 02:14:05 +0000
committerStefan Monnier2009-09-11 02:14:05 +0000
commit66d77eda77b4a92e0e1f9782e895ab0d98ba59bc (patch)
tree7163cc2de40e27a59ba11ce505299b1b0e77a9a2
parent5238a7490e364b7a1392cf22d8ac3c3f833fce29 (diff)
downloademacs-66d77eda77b4a92e0e1f9782e895ab0d98ba59bc.tar.gz
emacs-66d77eda77b4a92e0e1f9782e895ab0d98ba59bc.zip
(get_keymap): Return the actual keymap symbol rather than t for autoloaded
keymaps when autoloading is not allowed (bug#4393).
-rw-r--r--src/ChangeLog3
-rw-r--r--src/keymap.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 62a7afe4b3b..7a839986e2f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12009-09-11 Stefan Monnier <monnier@iro.umontreal.ca> 12009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * keymap.c (get_keymap): Return the actual keymap symbol rather than
4 t for autoloaded keymaps when autoloading is not allowed (bug#4393).
5
3 * keymap.c (QCadvertised_binding): New constant. 6 * keymap.c (QCadvertised_binding): New constant.
4 (syms_of_keymap): Initialize it. 7 (syms_of_keymap): Initialize it.
5 (Fwhere_is_internal): Try and use bindings from :advertised-binding 8 (Fwhere_is_internal): Try and use bindings from :advertised-binding
diff --git a/src/keymap.c b/src/keymap.c
index 7f539fd57b5..561b3453967 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -292,7 +292,7 @@ get_keymap (object, error, autoload)
292 goto autoload_retry; 292 goto autoload_retry;
293 } 293 }
294 else 294 else
295 return Qt; 295 return object;
296 } 296 }
297 } 297 }
298 } 298 }