]> git.eshelyaron.com Git - emacs.git/commitdiff
When searching a topic in Gnus, search all topic's groups
authorEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 14 Feb 2020 19:56:58 +0000 (11:56 -0800)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 14 Feb 2020 19:56:58 +0000 (11:56 -0800)
Bug#39515

* lisp/gnus/nnir.el (gnus-group-make-nnir-group): Bring the code in
line with the documentation, which says that all topic groups will be
searched, even if they're not visible.

lisp/gnus/nnir.el

index 0f364d66e1a98846e8eab2872b6dc9b2d0ee3844..0277524a8c6f5e5fecb00139a7107bdbcf2910b7 100644 (file)
@@ -617,7 +617,8 @@ A non-nil `specs' arg must be an alist with `nnir-query-spec' and
                       (list (gnus-group-group-name))
                     (mapcar (lambda (entry)
                               (gnus-info-group (cadr entry)))
-                            (gnus-topic-find-groups (gnus-group-topic-name)))))
+                            (gnus-topic-find-groups (gnus-group-topic-name)
+                                                    nil t nil t))))
               gnus-group-server))))
         (query-spec
          (or (cdr (assq 'nnir-query-spec specs))