From: Eli Zaretskii Date: Mon, 6 May 2024 12:02:37 +0000 (+0300) Subject: Revert "Disable text conversion in map-ynp" X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3bedc81e7bdee71a6ff1beeb0f962191b7d9932a;p=emacs.git Revert "Disable text conversion in map-ynp" This reverts commit f50a58123a3d386b9bba7c4ba14df62479887bd4. Please don't make such changes without discussing them. (cherry picked from commit e091967ce2d0b14cfe5444858d065b1f203121fa) --- diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index d769b7ace64..b603f2e6d0b 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el @@ -168,7 +168,7 @@ The function's value is the number of actions taken." (key-description (vector help-char))) (if minibuffer-auto-raise (raise-frame (window-frame (minibuffer-window)))) - (setq char (read-key)) + (setq char (read-event)) ;; Show the answer to the question. (message "%s(y, n, !, ., q, %sor %s) %s" prompt user-keys