Rename `gnus-bound-and-true-dumber-p' to `gnus-bound-and-true-p'.
[gnus] / lisp / gnus-util.el
index e9d6ba4..f811c96 100644 (file)
@@ -1986,6 +1986,10 @@ definitions to shadow the loaded ones for use in file byte-compilation."
              (gnus-macroexpand-all expanded environment)))
        form))))
 
+;; simple check, can be a macro but this way, although slow, it's really clear
+(defun gnus-bound-and-true-p (sym)
+  (and (boundp sym) (symbol-value sym)))
+
 (provide 'gnus-util)
 
 ;;; gnus-util.el ends here