* lisp/auth-source.el (read-passwd): Guard call, as it was before the
code was moved here.
`set-text-conversion-style` is not present in all configurations.
(cherry picked from commit
4fc84cb23b6d671b44f18b8462e94c3bcfc3ee09)
(read-passwd-toggle-visibility)))
(defvar overriding-text-conversion-style)
-(declare-function set-text-conversion-style "textconv.c")
;;;###autoload
(defun read-passwd (prompt &optional confirm default)
;; And of course, don't keep the sensitive data around.
(erase-buffer)
;; Then restore the previous text conversion style.
- (set-text-conversion-style text-conversion-style))))))))
+ (when (fboundp 'set-text-conversion-style)
+ (set-text-conversion-style text-conversion-style)))))))))
(provide 'auth-source)