mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-26 01:40:53 -08:00
Fix -maybe-get-prefix-title use of key-binding
key-binding doesn't work with all forms of key strings. See #143
This commit is contained in:
parent
c493e0b4bb
commit
d939e06fda
1 changed files with 1 additions and 1 deletions
|
|
@ -1303,7 +1303,7 @@ An empty stiring is returned if no title exists."
|
|||
(mode-alist (assq major-mode alist))
|
||||
(mode-res (when mode-alist
|
||||
(assoc-string keys mode-alist)))
|
||||
(binding (key-binding keys))
|
||||
(binding (key-binding (kbd keys)))
|
||||
(alternate (when (and binding (symbolp binding))
|
||||
(symbol-name binding))))
|
||||
(cond (mode-res (cdr mode-res))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue