emacs-devel
[Top][All Lists]
Advanced

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

Re: master 7fd2ad7: Fix typo in add-hook doc string


From: Glenn Morris
Subject: Re: master 7fd2ad7: Fix typo in add-hook doc string
Date: Wed, 06 Feb 2019 14:23:07 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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



reply via email to

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