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

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

[nongnu] elpa/helm e705380811: Try to switch to tab only when tab-bar-mo


From: ELPA Syncer
Subject: [nongnu] elpa/helm e705380811: Try to switch to tab only when tab-bar-mode is enabled
Date: Thu, 22 Jun 2023 16:01:34 -0400 (EDT)

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

    Try to switch to tab only when tab-bar-mode is enabled
---
 helm-utils.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/helm-utils.el b/helm-utils.el
index a4e0bb0b69..b026f8237e 100644
--- a/helm-utils.el
+++ b/helm-utils.el
@@ -321,7 +321,8 @@ If a prefix arg is given split windows vertically."
 (defun helm-buffers-switch-to-buffer-or-tab (buffer)
   "Switch to BUFFER in its tab if some."
   (if (and (fboundp 'tab-bar-mode)
-           helm-buffers-maybe-switch-to-tab)
+           helm-buffers-maybe-switch-to-tab
+           tab-bar-mode)
       (let* ((tab-bar-tab-name-function #'tab-bar-tab-name-all)
              (tabs (tab-bar-tabs))
              (tab-names (mapcar (lambda (tab)



reply via email to

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