aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeodor Zlatanov2011-11-02 22:59:23 +0000
committerKatsumi Yamaoka2011-11-02 22:59:23 +0000
commit5bb8ec778bd4e9a942411031b9ebc0105e981009 (patch)
tree3d57c70263c479f202d70431b3765fe14495f0ec
parentacc825c5c40c857d4c2c15f0fd0c4fae616220be (diff)
downloademacs-5bb8ec778bd4e9a942411031b9ebc0105e981009.tar.gz
emacs-5bb8ec778bd4e9a942411031b9ebc0105e981009.zip
gnus-util.el (gnus-bound-and-true-p): Another comment to explain why we don't use `bound-and-true-p'.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-util.el3
2 files changed, 7 insertions, 1 deletions
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 @@
12011-11-02 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * gnus-util.el (gnus-bound-and-true-p): Another comment to explain why
4 we don't use `bound-and-true-p'.
5
12011-11-01 Teodor Zlatanov <tzz@lifelogs.com> 62011-11-01 Teodor Zlatanov <tzz@lifelogs.com>
2 7
3 * gnus-util.el (gnus-bound-and-true-p): Remove. 8 * 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."
1986 (gnus-macroexpand-all expanded environment))) 1986 (gnus-macroexpand-all expanded environment)))
1987 form)))) 1987 form))))
1988 1988
1989;; simple check, can be a macro but this way, although slow, it's really clear 1989;; Simple check: can be a macro but this way, although slow, it's really clear.
1990;; We don't use `bound-and-true-p' because it's not in XEmacs.
1990(defun gnus-bound-and-true-p (sym) 1991(defun gnus-bound-and-true-p (sym)
1991 (and (boundp sym) (symbol-value sym))) 1992 (and (boundp sym) (symbol-value sym)))
1992 1993