From: Eli Zaretskii Date: Tue, 7 May 2024 12:00:31 +0000 (+0300) Subject: ; * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Add commentary. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=19e0567a0c13bea950df516f03a0c27e2057f37c;p=emacs.git ; * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Add commentary. (cherry picked from commit 4b31074f5f49898ba0499a2b617cad425750eafa) --- diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index 60e572fba30..1a9655b1f7b 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el @@ -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)))