unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: 41322@debbugs.gnu.org
Subject: bug#41322: [PATCH] Remove reference to missing gnus-custom-mode-hook
Date: Sat, 16 May 2020 09:29:12 -0400	[thread overview]
Message-ID: <CADwFkmkKe_X02hevvMWXziLS_MWw+ubjoDFrDjen6BTSnQxf_A@mail.gmail.com> (raw)

[-- 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


             reply	other threads:[~2020-05-16 13:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-16 13:29 Stefan Kangas [this message]
2020-05-16 16:49 ` bug#41322: [PATCH] Remove reference to missing gnus-custom-mode-hook Eric Abrahamsen
2020-05-16 17:09   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmkKe_X02hevvMWXziLS_MWw+ubjoDFrDjen6BTSnQxf_A@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=41322@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).