From 8a955727cff48616cc420a8568a0b4ff76cbbea7 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 5 Aug 2023 17:16:16 +0800 Subject: [PATCH] ; Update Android port * lisp/subr.el (y-or-n-p): Don't call set-text-conversion-style when not present. --- lisp/subr.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)." ;; If the minibuffer is already active, the ;; selected window might not change. Disable ;; text conversion by hand. - (set-text-conversion-style text-conversion-style) + (when (fboundp 'set-text-conversion-style) + (set-text-conversion-style text-conversion-style)) (read-from-minibuffer prompt nil keymap nil (or y-or-n-p-history-variable t))))) -- 2.39.2