From 32319c36fb28b6a266198342ab6e6b8ade53aa5a Mon Sep 17 00:00:00 2001 From: "F. Jason Park" Date: Sat, 1 Feb 2025 17:57:56 -0800 Subject: [PATCH] ; Remove obsolete :options value from erc-mode-hook * 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index baf154f884e..7fff9803164 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -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. -- 2.39.5