transient-map to finish if we're only supposed to be active for
the next command.
Fixes: debbugs:17642
+2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * subr.el (set-transient-map): Don't wait for some "nested"
+ transient-map to finish if we're only supposed to be active for
+ the next command (bug#17642).
+
2014-05-31 Leo Liu <sdl.web@gmail.com>
* emacs-lisp/gv.el (window-buffer, window-display-table)
(lambda ()
(with-demoted-errors "set-transient-map PCH: %S"
(unless (cond
+ ((null keep-pred) nil)
((not (eq map (cadr overriding-terminal-local-map)))
;; There's presumably some other transient-map in
;; effect. Wait for that one to terminate before we
;; C-u and that 1 exits isearch whereas it doesn't
;; exit C-u.
t)
- ((null keep-pred) nil)
((eq t keep-pred)
(eq this-command
(lookup-key map (this-command-keys-vector))))