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

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

bug#1660: 23.0.60; Wrong documentation for gnus-before-startup-hook


From: Stephen Berman
Subject: bug#1660: 23.0.60; Wrong documentation for gnus-before-startup-hook
Date: Sun, 21 Dec 2008 20:42:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On Sun, 21 Dec 2008 18:08:50 +0000 Leo <sdl.web@gmail.com> wrote:

> Hi there,
>
> (info "(gnus)Startup Variables")
>
> `gnus-before-startup-hook'
>      A hook run after starting up Gnus successfully.
>
> while reading the Gnus manual today, I spotted this error. Please
> correct it.

While you're at it, please also fix the doc string, which (in GNU Emacs
23.0.60.25 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-12-18 on
escher) reads:

    gnus-before-startup-hook is a variable defined in `gnus-start.el'.
    Its value is nil

    Documentation:
    A hook called at before startup.
                  ^^^^^^^^^
    This hook is called as the first thing when Gnus is started.

Is it `at' or `before'?  The latter matches the variable's name, the
former seems to better reflect its semantics.  Maybe it should have been
called gnus-at-startup-hook or -- since there already is a
gnus-startup-hook, which runs after gnus-before-startup-hook -- even
more accurately gnus-before-startup-hook-hook :-)

Steve Berman






reply via email to

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