Make group parameters work again.
authorNick Alcock <nick.alcock@oracle.com>
Thu, 26 Jan 2012 22:05:55 +0000 (23:05 +0100)
committerLars Ingebrigtsen <larsi@rusty.(none)>
Thu, 26 Jan 2012 22:05:55 +0000 (23:05 +0100)
* gnus.el (gnus-group-find-parameter): Check for liveness of the
buffer, not of the string which is its name.

lisp/ChangeLog
lisp/gnus.el

index 2c67936..346d1bf 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-26  Nick Alcock  <nick.alcock@oracle.com>  (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  <larsi@gnus.org>
 
        * proto-stream.el (proto-stream-capability-open): Wait for
index d4e4ef2..c07544a 100644 (file)
@@ -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