From: Po Lu Date: Sat, 5 Aug 2023 09:16:16 +0000 (+0800) Subject: ; Update Android port X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a955727cff48616cc420a8568a0b4ff76cbbea7;p=emacs.git ; Update Android port * lisp/subr.el (y-or-n-p): Don't call set-text-conversion-style when not present. --- 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)))))