Tweak remapping fix for set-transient-map
* lisp/subr.el (set-transient-map): The remapping doesn't have to be in this map.
This commit is contained in:
parent
8420d7cce7
commit
be17333ace
1 changed files with 1 additions and 1 deletions
|
@ -6052,7 +6052,7 @@ to deactivate this transient map, regardless of KEEP-PRED."
|
|||
;; We may have a remapped command, so chase
|
||||
;; down that.
|
||||
(when (and mc (symbolp mc))
|
||||
(setq mc (or (command-remapping mc nil map) mc)))
|
||||
(setq mc (or (command-remapping mc) mc)))
|
||||
;; If the key is unbound `this-command` is
|
||||
;; nil and so is `mc`.
|
||||
(and mc (eq this-command mc))))
|
||||
|
|
Loading…
Add table
Reference in a new issue