From: F. Jason Park <jp@neverwas.me>
Date: Mon, 11 Sep 2023 03:44:49 +0000 (-0700)
Subject: ; * lisp/erc/erc.el (erc-check-text-conversion): Try fboundp.
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e37a291cae26e91e761868570be713fbe1c1c1a;p=emacs.git

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

diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 0a67cf83ca8..07ba32d1cca 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -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))