(tmm-get-keybind): Use copy-sequence to ensure that the
global map isn't modified
This commit is contained in:
parent
57b213434a
commit
e47b701926
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ of `menu-bar-final-items'."
|
|||
;; Make a list of all the bindings in all the keymaps.
|
||||
(setq minorbind (mapcar 'cdr (minor-mode-key-binding keyseq)))
|
||||
(setq localbind (local-key-binding keyseq))
|
||||
(setq globalbind (cdr (global-key-binding keyseq)))
|
||||
(setq globalbind (copy-sequence (cdr (global-key-binding keyseq))))
|
||||
|
||||
;; If items have been redefined/undefined locally, remove them from
|
||||
;; the global list.
|
||||
|
|
Loading…
Add table
Reference in a new issue