From: Stefan Monnier Date: Thu, 18 Jan 2024 23:28:54 +0000 (-0500) Subject: * lisp/international/quail.el (quail-input-method): Fix bug#68338 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=81a2212bd52f68045b47d8be9345736655de6607;p=emacs.git * lisp/international/quail.el (quail-input-method): Fix bug#68338 --- diff --git a/lisp/international/quail.el b/lisp/international/quail.el index 56f049aedf5..48d2ccb8828 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el @@ -1324,9 +1324,11 @@ If STR has `advice' text property, append the following special event: ;; binding in `universal-argument-map' just return ;; (list KEY), otherwise act as if there was no ;; overriding map. - (or (not (eq (cadr overriding-terminal-local-map) - universal-argument-map)) - (lookup-key overriding-terminal-local-map (vector key)))) + ;; We used to do that only for `universal-argument-map', + ;; but according to bug#68338 this should also apply to + ;; other transient maps. Let's hope it's OK to apply it + ;; to all `overriding-terminal-local-map's. + (lookup-key overriding-terminal-local-map (vector key))) overriding-local-map) (list key) (quail-setup-overlays (quail-conversion-keymap))