unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41322: [PATCH] Remove reference to missing gnus-custom-mode-hook
@ 2020-05-16 13:29 Stefan Kangas
  2020-05-16 16:49 ` Eric Abrahamsen
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2020-05-16 13:29 UTC (permalink / raw)
  To: 41322

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

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'.

Should this reference just be removed, like in the attached patch?

Best regards,
Stefan Kangas

[-- Attachment #2: 0001-lisp-gnus-gnus-cus.el-gnus-custom-mode-Doc-fix.patch --]
[-- Type: text/x-diff, Size: 1000 bytes --]

From 0ccf4ab71ebace40158075f8ba06ae2ce09c31fb Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Sat, 16 May 2020 15:24:13 +0200
Subject: [PATCH] * lisp/gnus/gnus-cus.el (gnus-custom-mode): Doc fix.

---
 lisp/gnus/gnus-cus.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lisp/gnus/gnus-cus.el b/lisp/gnus/gnus-cus.el
index f0c4d07ca9..7c647f7f78 100644
--- a/lisp/gnus/gnus-cus.el
+++ b/lisp/gnus/gnus-cus.el
@@ -41,10 +41,7 @@ gnus-custom-mode
 \\[widget-forward]		Move to next button or editable field.
 \\[widget-backward]		Move to previous button or editable field.
 \\[widget-button-click]		Activate button under the mouse pointer.
-\\[widget-button-press]		Activate button under point.
-
-Entry to this mode calls the value of `gnus-custom-mode-hook'
-if that value is non-nil."
+\\[widget-button-press]		Activate button under point."
   (use-local-map widget-keymap)
   ;; Emacs stuff:
   (when (and (facep 'custom-button-face)
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-16 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-16 13:29 bug#41322: [PATCH] Remove reference to missing gnus-custom-mode-hook Stefan Kangas
2020-05-16 16:49 ` Eric Abrahamsen
2020-05-16 17:09   ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).