mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
Fix Bug#24149
* lisp/subr.el (set-transient-map): Don't wait if MAP not present in overriding-terminal-local-map. (Bug#24149)
This commit is contained in:
parent
7f9721d399
commit
847140163a
@ -4542,7 +4542,8 @@ to deactivate this transient map, regardless of KEEP-PRED."
|
||||
(with-demoted-errors "set-transient-map PCH: %S"
|
||||
(unless (cond
|
||||
((null keep-pred) nil)
|
||||
((not (eq map (cadr overriding-terminal-local-map)))
|
||||
((and (not (eq map (cadr overriding-terminal-local-map)))
|
||||
(memq map (cddr overriding-terminal-local-map)))
|
||||
;; There's presumably some other transient-map in
|
||||
;; effect. Wait for that one to terminate before we
|
||||
;; remove ourselves.
|
||||
|
Loading…
Reference in New Issue
Block a user