[gnus git] branch master updated: n0-15-5-g27ec869 =1= gnus-util: simplify gnus-buffer-live-p
Julien Danjou <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 27ec8693a5d1d67366103f333204d4e07336c22d (commit)
from ac4b3b6534dc1b73fcc129865206266be3e44fa0 (commit)
- Log -----------------------------------------------------------------
commit 27ec8693a5d1d67366103f333204d4e07336c22d
Author: Julien Danjou <[email protected]>
Date: Fri Mar 18 17:58:54 2011 +0100
gnus-util: simplify gnus-buffer-live-p
Signed-off-by: Julien Danjou <[email protected]>
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1a32c4b..af7920e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-18 Julien Danjou <[email protected]>
+
+ * gnus-util.el (gnus-buffer-live-p): Simplify gnus-buffer-live-p.
+
2011-03-17 Lars Magne Ingebrigtsen <[email protected]>
* gnus.el: No Gnus v0.15 is released.
diff --git a/lisp/gnus-util.el b/lisp/gnus-util.el
index 42dbd59..e5a3950 100644
--- a/lisp/gnus-util.el
+++ b/lisp/gnus-util.el
@@ -672,11 +672,9 @@ If N, return the Nth ancestor instead."
(when (string-match "\\(<[^<]+>\\)[ \t]*\\'" references)
(match-string 1 references))))))
-(defun gnus-buffer-live-p (buffer)
+(defsubst gnus-buffer-live-p (buffer)
"Say whether BUFFER is alive or not."
- (and buffer
- (get-buffer buffer)
- (buffer-name (get-buffer buffer))))
+ (buffer-live-p (get-buffer buffer)))
(defun gnus-horizontal-recenter ()
"Recenter the current buffer horizontally."
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 4 ++++
lisp/gnus-util.el | 6 ++----
2 files changed, 6 insertions(+), 4 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project