From cc7e694d0a594d0c89d9b8611123c98f502a5e27 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Thu, 26 Jan 2012 23:05:55 +0100 Subject: [PATCH] Make group parameters work again. * gnus.el (gnus-group-find-parameter): Check for liveness of the buffer, not of the string which is its name. --- lisp/ChangeLog | 5 +++++ lisp/gnus.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2c6793630..346d1bfca 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-01-26 Nick Alcock (tiny change) + + * gnus.el (gnus-group-find-parameter): Check for liveness of the + buffer, not of the string which is its name. + 2012-01-26 Lars Ingebrigtsen * proto-stream.el (proto-stream-capability-open): Wait for diff --git a/lisp/gnus.el b/lisp/gnus.el index d4e4ef23a..c07544a4a 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -3883,7 +3883,7 @@ If SYMBOL, return the value of that symbol in the group parameters. If you call this function inside a loop, consider using the faster `gnus-group-fast-parameter' instead." - (with-current-buffer (if (buffer-live-p gnus-group-buffer) + (with-current-buffer (if (buffer-live-p (get-buffer gnus-group-buffer)) gnus-group-buffer (current-buffer)) (if symbol -- 2.25.1