Commit 66d77eda authored by Stefan Monnier's avatar Stefan Monnier

(get_keymap): Return the actual keymap symbol rather than t for autoloaded

keymaps when autoloading is not allowed (bug#4393).
parent 5238a749
2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
* keymap.c (get_keymap): Return the actual keymap symbol rather than
t for autoloaded keymaps when autoloading is not allowed (bug#4393).
* keymap.c (QCadvertised_binding): New constant.
(syms_of_keymap): Initialize it.
(Fwhere_is_internal): Try and use bindings from :advertised-binding
......
......@@ -292,7 +292,7 @@ get_keymap (object, error, autoload)
goto autoload_retry;
}
else
return Qt;
return object;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment