* lisp/subr.el (y-or-n-p): Don't call set-text-conversion-style when
not present.
;; 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)))))