bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25581: 25.1; Incorrect statement in (elisp) `Hooks'


From: Drew Adams
Subject: bug#25581: 25.1; Incorrect statement in (elisp) `Hooks'
Date: Mon, 30 Jan 2017 20:06:27 -0800 (PST)

> Better, but the typical practice of setq'ing to another named
> function should be mentioned before advice.

Before or after, I don't know.  But it should be clear to
a user at the end that s?he _can_ use _any_ of these (and
similar):

 setq (-local etc), set
 add-hook
 add-function

And if Emacs wants to make a point of _recommending_ one
of these (for a hook named `*-function') then it should,
I think, point out some of its _advantages_.






reply via email to

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