* lisp/gnus/gnus-start.el (gnus-display-time-event-handler): Use
bound-and-true-p.
* lisp/gnus/gnus-util (gnus-boundp): Remove.
(defun gnus-display-time-event-handler ()
(if (and (fboundp 'display-time-event-handler)
- (gnus-boundp 'display-time-timer))
+ (bound-and-true-p display-time-timer))
(display-time-event-handler)))
(defun gnus-check-reasonable-setup ()
(declare (obsolete replace-regexp-in-string "26.1"))
(replace-regexp-in-string regexp newtext string nil literal))
-(defun gnus-boundp (variable)
- "Return non-nil if VARIABLE is bound and non-nil."
- (and (boundp variable)
- (symbol-value variable)))
-
(defmacro gnus-eval-in-buffer-window (buffer &rest forms)
"Pop to BUFFER, evaluate FORMS, and then return to the original window."
(let ((tempvar (make-symbol "GnusStartBufferWindow"))