]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/international/quail.el (quail-input-method): Fix bug#68338
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 18 Jan 2024 23:28:54 +0000 (18:28 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 18 Jan 2024 23:28:54 +0000 (18:28 -0500)
lisp/international/quail.el

index 56f049aedf5fa9e6086e677627de2c5e63d0aff8..48d2ccb8828d57635606146d81d74d67afb01c88 100644 (file)
@@ -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))