aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2023-08-05 17:16:16 +0800
committerPo Lu2023-08-05 17:16:16 +0800
commit8a955727cff48616cc420a8568a0b4ff76cbbea7 (patch)
tree7c0c93c08d2961b65bf55bfc5f9f8664aa791f3a
parenta5bbc51f474568ad2e4511a08614ac8ec4ca2481 (diff)
downloademacs-8a955727cff48616cc420a8568a0b4ff76cbbea7.tar.gz
emacs-8a955727cff48616cc420a8568a0b4ff76cbbea7.zip
; Update Android port
* lisp/subr.el (y-or-n-p): Don't call set-text-conversion-style when not present.
-rw-r--r--lisp/subr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 3e4808c5471..58ec642dd92 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3799,7 +3799,8 @@ like) while `y-or-n-p' is running)."
3799 ;; If the minibuffer is already active, the 3799 ;; If the minibuffer is already active, the
3800 ;; selected window might not change. Disable 3800 ;; selected window might not change. Disable
3801 ;; text conversion by hand. 3801 ;; text conversion by hand.
3802 (set-text-conversion-style text-conversion-style) 3802 (when (fboundp 'set-text-conversion-style)
3803 (set-text-conversion-style text-conversion-style))
3803 (read-from-minibuffer 3804 (read-from-minibuffer
3804 prompt nil keymap nil 3805 prompt nil keymap nil
3805 (or y-or-n-p-history-variable t))))) 3806 (or y-or-n-p-history-variable t)))))