From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: master 7fd2ad7: Fix typo in add-hook doc string Date: Wed, 06 Feb 2019 14:23:07 -0500 Message-ID: References: <20190206164901.28537.95927@vcs0.savannah.gnu.org> <20190206164903.216CF2041F@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="174261"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: Aurelien Aptel To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 20:24:08 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grSnm-000j8p-R2 for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2019 20:24:06 +0100 Original-Received: from localhost ([127.0.0.1]:57442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grSnl-0007P7-Qk for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2019 14:24:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grSms-0007P0-L8 for emacs-devel@gnu.org; Wed, 06 Feb 2019 14:23:11 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grSmr-00056s-RR; Wed, 06 Feb 2019 14:23:09 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1grSmp-0008Nr-Tv; Wed, 06 Feb 2019 14:23:08 -0500 X-Spook: Tony Blair illuminati Chemical Ricin 2600 militia Saudi X-Ran: ~H"1s0&]FzFDUdloo)`Lqb3Wf=``T<>R=Z@+6kqRg-[5v9F'~x8#fz;nf;!X"7GYv>m|S~ X-Hue: green X-Attribution: GM In-Reply-To: <20190206164903.216CF2041F@vcs0.savannah.gnu.org> (=?utf-8?Q?=22Aur=C3=A9lien?= Aptel"'s message of "Wed, 6 Feb 2019 11:49:02 -0500 (EST)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233060 Archived-At: > branch: master > commit 7fd2ad755e7fa599697648ac4c971e834de75bf3 > Fix typo in add-hook doc string > --- a/lisp/subr.el > +++ b/lisp/subr.el > @@ -1555,7 +1555,7 @@ FUNCTION is added at the end. > > The optional fourth argument, LOCAL, if non-nil, says to modify > the hook's buffer-local value rather than its global value. > -This makes the hook buffer-local, and it makes t a member of the > +This makes the hook buffer-local, and it makes it a member of the That wasn't a typo. It refers to the symbol `t' (which is not quoted in doc strings). If you read your revised version, and the next sentence, you'll see it now doesn't make sense. (Doc fixes should happen on the release branch, BTW.)