unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Possible typo in the documentaion
@ 2013-06-04 10:16 Ivanov Dmitry
  2013-06-04 14:24 ` Davis Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Ivanov Dmitry @ 2013-06-04 10:16 UTC (permalink / raw)
  To: emacs-devel

On this page:

http://www.gnu.org/software/emacs/manual/html_node/elisp/Setting-Hooks.html


Is it correct, that it says:

This function is the handy way to add "function function" (?) to hook variable hook.

Maybe 1 word "function" is redundant? And it should be:

This function is the handy way to add a function to hook variable hook.




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

* Re: Possible typo in the documentaion
  2013-06-04 10:16 Possible typo in the documentaion Ivanov Dmitry
@ 2013-06-04 14:24 ` Davis Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Davis Herring @ 2013-06-04 14:24 UTC (permalink / raw)
  To: Ivanov Dmitry; +Cc: emacs-devel

> This function is the handy way to add "function function" (?) to hook variable hook.
> 
> Maybe 1 word "function" is redundant?

It's a "bug" in http://www.gnu.org/layout.css:

blockquote{ margin: 1em; font-style: italic; }

That prevents <var> from distinguishing the second word.  In Info it says

This function is the handy way to add function FUNCTION to hook variable
HOOK.

which makes it clear(er) that it's "the function referred to by the
argument named 'function'" (and similarly for hook).

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.



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

end of thread, other threads:[~2013-06-04 14:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04 10:16 Possible typo in the documentaion Ivanov Dmitry
2013-06-04 14:24 ` Davis Herring

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