summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-sum.el
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2018-11-28 09:31:40 -0800
committerEric Abrahamsen <eric@ericabrahamsen.net>2018-11-28 09:31:40 -0800
commite8d7e3a59a05917b94b6803c123be97ccd693f0d (patch)
tree2dba6045d4e28c8cc189c71b61d39981213cf6ff /lisp/gnus/gnus-sum.el
parent415ef4a2b02dac17bf1bb962154633e671e561dd (diff)
downloademacs-e8d7e3a59a05917b94b6803c123be97ccd693f0d.tar.gz
Further small tweaks to Gnus modes cleanup
* lisp/gnus/gnus-sum.el: Remove explicit definition of `gnus-summary-mode-hook', this is now created automatically. * lisp/gnus/nnir.el (nnir-open-server): Attach `nnir-mode' to the `gnus-summary-prepared-hook', instead of `gnus-summary-mode-hook'. The latter no longer has access to the buffer-local value of `gnus-newsgroup-name', which `nnir-mode' needs.
Diffstat (limited to 'lisp/gnus/gnus-sum.el')
-rw-r--r--lisp/gnus/gnus-sum.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 7be52717de9..4baf4bc8263 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -946,13 +946,6 @@ This variable is local to the summary buffers."
:type '(choice (const :tag "off" nil)
integer))
-(defcustom gnus-summary-mode-hook nil
- "A hook for Gnus summary mode.
-This hook is run before any variables are set in the summary buffer."
- :options '(turn-on-gnus-mailing-list-mode gnus-pick-mode)
- :group 'gnus-summary-various
- :type 'hook)
-
(defcustom gnus-summary-menu-hook nil
"Hook run after the creation of the summary mode menu."
:group 'gnus-summary-visual