From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#41322: [PATCH] Remove reference to missing gnus-custom-mode-hook Date: Sat, 16 May 2020 09:49:00 -0700 Message-ID: <87h7wfygeb.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="125682"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41322@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 16 18:50:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ja00m-000WYg-Sb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 18:50:08 +0200 Original-Received: from localhost ([::1]:40254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ja00l-0003WT-TF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 12:50:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ja00g-0003WL-2P for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 12:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ja00f-00004x-Om for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 12:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ja00f-0001ob-HV for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 12:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 May 2020 16:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41322 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41322-submit@debbugs.gnu.org id=B41322.15896477516767 (code B ref 41322); Sat, 16 May 2020 16:50:01 +0000 Original-Received: (at 41322) by debbugs.gnu.org; 16 May 2020 16:49:11 +0000 Original-Received: from localhost ([127.0.0.1]:41618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZzzq-0001l4-SN for submit@debbugs.gnu.org; Sat, 16 May 2020 12:49:11 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:46096 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZzzo-0001kW-Hr for 41322@debbugs.gnu.org; Sat, 16 May 2020 12:49:08 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 297EBFA0E2; Sat, 16 May 2020 16:49:02 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Sat, 16 May 2020 09:29:12 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180400 Archived-At: Stefan Kangas 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 =E2=80=98gnus-cus.el=E2=80= =99. 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. =E2=80=98add-hook=E2=80=99 automatically binds it. (This is true for all h= ook variables.)