]> git.eshelyaron.com Git - emacs.git/commitdiff
; Remove obsolete :options value from erc-mode-hook
authorF. Jason Park <jp@neverwas.me>
Sun, 2 Feb 2025 01:57:56 +0000 (17:57 -0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 11:15:21 +0000 (12:15 +0100)
* lisp/erc/erc.el (erc-mode-hook): Remove `erc-add-scroll-to-bottom'
from :options list because the function has been deprecated.

(cherry picked from commit fb53de0c06651ed9662610790b3c2938a314c468)

lisp/erc/erc.el

index baf154f884e0cbd38ef0ecb70f8edfe4c4f7fd92..7fff9803164e95793f4bc37e7f0f55fdc58c69ae 100644 (file)
@@ -1272,10 +1272,11 @@ particular sessions and/or `let'-bound for spells."
   :group 'erc)
 
 (defcustom erc-mode-hook nil
-  "Hook run after `erc-mode' setup is finished."
+  "Hook run after `erc-mode' setup is finished.
+Members should be robust enough to run in any order and not depend on
+hook depth."
   :group 'erc-hooks
-  :type 'hook
-  :options '(erc-add-scroll-to-bottom))
+  :type 'hook)
 
 (defcustom erc-timer-hook nil
   "Abnormal hook run after each response handler.