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

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

[nongnu] elpa/helm c5a9299ccd 4/5: Use save-window-excursion in helm-inf


From: ELPA Syncer
Subject: [nongnu] elpa/helm c5a9299ccd 4/5: Use save-window-excursion in helm-info
Date: Fri, 4 Aug 2023 15:59:49 -0400 (EDT)

branch: elpa/helm
commit c5a9299ccda3f90d21051af76d400fa84dbb9f79
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Use save-window-excursion in helm-info
    
    This prevent ending up with the helm-current-buffer when computation
    of init fn is too long.
---
 helm-info.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-info.el b/helm-info.el
index 9215da30af..64922c88b1 100644
--- a/helm-info.el
+++ b/helm-info.el
@@ -67,7 +67,7 @@ found in each node, otherwise scan only the current info 
buffer."
                  (helm-candidate-buffer))
       (kill-buffer it))
   (unless (helm-candidate-buffer)
-    (save-selected-window
+    (save-window-excursion
       (info file " *helm info temp buffer*")
       (let ((tobuf (helm-candidate-buffer 'global))
             Info-history)



reply via email to

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