branch: elpa/helm commit c5a9299ccda3f90d21051af76d400fa84dbb9f79 Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@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)