branch: elpa/isl
commit 73f8df4b9aa35c8a2d6ccb95e0552be8daeeb9b0
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Fix emacs-28 annoyance not staying in current-buffer with helm help
---
isearch-light.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/isearch-light.el b/isearch-light.el
index 5c892b2a2d1..d21159b56aa 100644
--- a/isearch-light.el
+++ b/isearch-light.el
@@ -875,6 +875,9 @@ appended at end."
(setq isl--quit t)
(goto-char isl-initial-pos)))
(isl-cleanup)
+ (unless (eq (window-buffer (selected-window))
+ isl-current-buffer)
+ (switch-to-buffer isl-current-buffer))
(and (not (string= isl-pattern ""))
(recenter))))