summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-05-07 15:00:31 +0300
committerEli Zaretskii <eliz@gnu.org>2024-05-07 15:00:31 +0300
commit4b31074f5f49898ba0499a2b617cad425750eafa (patch)
tree4e68486153bea9f34a90ea1006347f46fbcee957
parenta06b365cbf8c1b12f785ad0988cb27b26c1ab463 (diff)
downloademacs-4b31074f5f49898ba0499a2b617cad425750eafa.tar.gz
; * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Add commentary.
-rw-r--r--lisp/emacs-lisp/map-ynp.el5
1 files changed, 5 insertions, 0 deletions
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)))