]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove gnus-boundp
authorMark Oteiza <mvoteiza@udel.edu>
Fri, 31 Mar 2017 02:22:47 +0000 (22:22 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Fri, 31 Mar 2017 02:22:47 +0000 (22:22 -0400)
* lisp/gnus/gnus-start.el (gnus-display-time-event-handler): Use
bound-and-true-p.
* lisp/gnus/gnus-util (gnus-boundp): Remove.

lisp/gnus/gnus-start.el
lisp/gnus/gnus-util.el

index be46339cd38158ed69c308922224ae51d45bd693..90f3cb48c277b448d6611b183f8792fa924707f5 100644 (file)
@@ -3196,7 +3196,7 @@ If this variable is nil, don't do anything."
 
 (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 ()
index 20eceb58eddb0f314dc0e5dab3a13cbd5181cba4..b509d8ad448b2ca826a1e57701848839e48253d2 100644 (file)
@@ -84,11 +84,6 @@ This is a compatibility function for different Emacsen."
   (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"))