mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
(tmm-get-keybind): Use car-safe to avoid errors with
inherited keymaps.
This commit is contained in:
parent
41a023e3b7
commit
0bb48bffd6
@ -547,9 +547,9 @@ of `menu-bar-final-items'."
|
||||
;; the global list.
|
||||
(dolist (minor minorbind)
|
||||
(dolist (item (cdr minor))
|
||||
(setq globalbind (assq-delete-all (car item) globalbind))))
|
||||
(setq globalbind (assq-delete-all (car-safe item) globalbind))))
|
||||
(dolist (item (cdr localbind))
|
||||
(setq globalbind (assq-delete-all (car item) globalbind)))
|
||||
(setq globalbind (assq-delete-all (car-safe item) globalbind)))
|
||||
|
||||
(setq globalbind (cons 'keymap globalbind))
|
||||
(setq allbind (cons globalbind (cons localbind minorbind)))
|
||||
|
Loading…
Reference in New Issue
Block a user