From: yamaoka Date: Mon, 29 Nov 1999 11:43:36 +0000 (+0000) Subject: (gnus-after-getting-new-news-hook): Don't use the macro `when' in the arg X-Git-Tag: t-gnus-6_13_3-07~14 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1b36278208e7dc44ca427562fd96271af8b8b923;p=elisp%2Fgnus.git- (gnus-after-getting-new-news-hook): Don't use the macro `when' in the arg of `defcustom'. Use `if' instead. --- diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el index c9a4f4a..ddc14da 100644 --- a/lisp/gnus-start.el +++ b/lisp/gnus-start.el @@ -369,9 +369,9 @@ This hook is called as the first thing when Gnus is started." :type 'hook) (defcustom gnus-after-getting-new-news-hook - (when (gnus-boundp 'display-time-timer) - '(display-time-event-handler)) - "*A hook run after Gnus checks for new news when Gnus is already running." + (if (gnus-boundp 'display-time-timer) + '(display-time-event-handler)) + "A hook run after Gnus checks for new news when Gnus is already running." :group 'gnus-group-new :type 'hook)