bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41322: [PATCH] Remove reference to missing gnus-custom-mode-hook


From: Eric Abrahamsen
Subject: bug#41322: [PATCH] Remove reference to missing gnus-custom-mode-hook
Date: Sat, 16 May 2020 09:49:00 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Kangas <stefankangas@gmail.com> writes:

> There is a reference to `gnus-custom-mode-hook' in the docstring of
> `gnus-custom-mode'.  However, I can't find this hook variable anywhere
> in the sources and it is not used as advertised in `gnus-custom-mode'.

It's just an automatically-generated mode hook, like all the others, it
doesn't need to be referenced in gnus-cus.el code.

C-h v gnus-custom-mode-hook

gnus-custom-mode-hook is a variable defined in ‘gnus-cus.el’.
Its value is nil

  This variable may be risky if used as a file-local variable.

Documentation:
Hook run after entering Gnus Customize mode.
No problems result if this variable is not bound.
‘add-hook’ automatically binds it.  (This is true for all hook variables.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]