; * lisp/erc/erc.el (erc-check-text-conversion): Try fboundp.

This commit is contained in:
F. Jason Park 2023-09-10 20:44:49 -07:00
parent 374ed006ff
commit 0e37a291ca

View file

@ -8040,7 +8040,7 @@ prompt or `nil' otherwise, set it to such a value, so as to
guarantee that the input method functions properly for the
purpose of typing within the ERC prompt."
(when (and (eq major-mode 'erc-mode)
(boundp 'text-conversion-style))
(fboundp 'set-text-conversion-style))
(if (>= (point) (erc-beg-of-input-line))
(unless (eq text-conversion-style 'action)
(set-text-conversion-style 'action))