From: Teodor Zlatanov Date: Wed, 2 Nov 2011 22:59:23 +0000 (+0000) Subject: gnus-util.el (gnus-bound-and-true-p): Another comment to explain why we don't use... X-Git-Tag: emacs-pretest-24.0.92~230 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5bb8ec778bd4e9a942411031b9ebc0105e981009;p=emacs.git gnus-util.el (gnus-bound-and-true-p): Another comment to explain why we don't use `bound-and-true-p'. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 860ccf45206..12cbd30df68 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2011-11-02 Teodor Zlatanov + + * 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 * gnus-util.el (gnus-bound-and-true-p): Remove. diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index f811c9664af..14551737837 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el @@ -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)))