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

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

[nongnu] elpa/helm bb9f092ad6 2/2: Maybe switch to buffer in tab with im


From: ELPA Syncer
Subject: [nongnu] elpa/helm bb9f092ad6 2/2: Maybe switch to buffer in tab with imenu
Date: Sat, 7 Sep 2024 15:59:54 -0400 (EDT)

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

    Maybe switch to buffer in tab with imenu
---
 helm-imenu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-imenu.el b/helm-imenu.el
index 0ff45bbdf4..f610a39171 100644
--- a/helm-imenu.el
+++ b/helm-imenu.el
@@ -305,7 +305,7 @@ The sexp should be an `all-the-icons' function with its 
args."
 (defun helm-imenu--maybe-switch-to-buffer (candidate)
   (let ((cand (cdr candidate)))
     (helm-aif (and (markerp cand) (marker-buffer cand))
-        (switch-to-buffer it))))
+        (helm-buffers-switch-to-buffer-or-tab it))))
 
 (defun helm-imenu--execute-action-at-once-p ()
   (let ((cur (helm-get-selection))



reply via email to

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