; * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Add commentary.
authorEli Zaretskii <eliz@gnu.org>
Tue, 7 May 2024 12:00:31 +0000 (15:00 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 7 May 2024 12:00:31 +0000 (15:00 +0300)
lisp/emacs-lisp/map-ynp.el

index 60e572fba304ef2b321f02b3bc6d5c97058954bd..1a9655b1f7bbd9713d97765269921e4b7d169e32 100644 (file)
@@ -172,6 +172,11 @@ The function's value is the number of actions taken."
                       (if minibuffer-auto-raise
                           (raise-frame (window-frame (minibuffer-window))))
                        (unwind-protect
+                           ;; We want to inhibit text conversion here,
+                           ;; because it gets in the way when system
+                           ;; input methods are installed.  See
+                           ;; https://lists.gnu.org/archive/html/emacs-devel/2024-05/msg00441.html
+                           ;; for the details.
                            (let ((overriding-text-conversion-style nil))
                              (set-text-conversion-style text-conversion-style)
                             (setq char (read-event)))