branch: externals/gnorb
commit 2d30b0cc06e1cd5e3d3bf16aeb4ecd912b7c2406
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>

    Reset window conf after nnir-run-gnorb
    
    * nngnorb.el (nnir-run-gnorb): Doing this in preparation for making
      persistent gnorb nnir groups. Without it, checking for new mail in the
      persistent group would switch windows.
---
 nngnorb.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nngnorb.el b/nngnorb.el
index deb1d1a..9d03e14 100644
--- a/nngnorb.el
+++ b/nngnorb.el
@@ -79,7 +79,7 @@ be scanned for gnus messages, and those messages displayed."
   ;; a property, and the new registry-based system, we're going to use
   ;; both methods to collect relevant messages. This could be a little
   ;; slower, but for the time being it will be safer.
-  (save-excursion
+  (save-window-excursion
     (let ((q (cdr (assq 'query query)))
          (buf (get-buffer-create nnir-tmp-buffer))
          msg-ids org-ids links vectors)

Reply via email to