[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: |
Reiner Steib |
Subject: |
bug#1660: 23.0.60; Wrong documentation for gnus-before-startup-hook |
Date: |
Sun, 21 Dec 2008 23:45:08 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) |
[ Let's see if I can send to a closed bug ... ]
On Sun, Dec 21 2008, Stephen Berman wrote:
> 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.
I fixed it as follows:
--- gnus-start.el 15 Dec 2008 20:22:12 +0100 7.68
+++ gnus-start.el 21 Dec 2008 20:19:37 +0100
@@ -392,7 +392,7 @@
:type 'hook)
(defcustom gnus-before-startup-hook nil
- "A hook called at before startup.
+ "A hook called before startup.
This hook is called as the first thing when Gnus is started."
:group 'gnus-start
:type 'hook)
> 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 :-)
:-)
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/