nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
authorAndrew Cohen <cohen@andy.bu.edu>
Fri, 17 Dec 2010 14:40:25 +0000 (09:40 -0500)
committerAndrew Cohen <cohen@andy.bu.edu>
Fri, 17 Dec 2010 14:40:25 +0000 (09:40 -0500)
lisp/ChangeLog
lisp/nnir.el

index 06a54bc..2b419ea 100644 (file)
@@ -1,3 +1,7 @@
+2010-12-17  Andrew Cohen  <cohen@andy.bu.edu>
+
+       * nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
+
 2010-12-16  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * lpath.el: Bind epa-file-encrypt-to for Emacs 22 and XEmacs.
index f2348bf..4c01b47 100644 (file)
@@ -1543,7 +1543,8 @@ server is of form 'backend:name'."
       (let ((cur (current-buffer))
            name)
        (goto-char (point-min))
-       (unless (string= nnir-ignored-newsgroups "")
+       (unless (or (null nnir-ignored-newsgroups)
+                   (string= nnir-ignored-newsgroups ""))
          (delete-matching-lines nnir-ignored-newsgroups))
        (if (eq (car method) 'nntp)
            (while (not (eobp))