gnus-util.el (gnus-bound-and-true-p): Another comment to explain why we don't use `bound-and-true-p'.

This commit is contained in:
Teodor Zlatanov 2011-11-02 22:59:23 +00:00 committed by Katsumi Yamaoka
parent acc825c5c4
commit 5bb8ec778b
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-11-02 Teodor Zlatanov <tzz@lifelogs.com>
* gnus-util.el (gnus-bound-and-true-p): Another comment to explain why
we don't use `bound-and-true-p'.
2011-11-01 Teodor Zlatanov <tzz@lifelogs.com>
* gnus-util.el (gnus-bound-and-true-p): Remove.

View file

@ -1986,7 +1986,8 @@ 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
;; Simple check: can be a macro but this way, although slow, it's really clear.
;; We don't use `bound-and-true-p' because it's not in XEmacs.
(defun gnus-bound-and-true-p (sym)
(and (boundp sym) (symbol-value sym)))