emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gnorb 2d30b0c 310/449: Reset window conf after nnir-run


From: Stefan Monnier
Subject: [elpa] externals/gnorb 2d30b0c 310/449: Reset window conf after nnir-run-gnorb
Date: Fri, 27 Nov 2020 23:16:01 -0500 (EST)

branch: externals/gnorb
commit 2d30b0cc06e1cd5e3d3bf16aeb4ecd912b7c2406
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    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

[Prev in Thread] Current Thread [Next in Thread]