of `defcustom'. Use `if' instead.
: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)