[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 6b88c35099 2/3: Make usage of prefarg consistent with
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 6b88c35099 2/3: Make usage of prefarg consistent with marked and single candidate |
Date: |
Sun, 8 Sep 2024 01:01:16 -0400 (EDT) |
branch: elpa/helm
commit 6b88c3509935b8c13aed2543dd6a77a33aa6e4e3
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Make usage of prefarg consistent with marked and single candidate
when switching to tabs.
---
helm-utils.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/helm-utils.el b/helm-utils.el
index 4e4b125c40..b6370b8633 100644
--- a/helm-utils.el
+++ b/helm-utils.el
@@ -356,7 +356,9 @@ If only one buffer in BUFFERS, try to switch to it in its
tab if some, otherwise, display it in a new tab."
(when (fboundp 'switch-to-buffer-other-tab)
(if (cdr buffers)
- (progn
+ (if helm-current-prefix-arg
+ (cl-loop for b in buffers
+ do (switch-to-buffer-other-tab b))
(switch-to-buffer-other-tab (car buffers))
(helm-window-show-buffers buffers))
(if helm-current-prefix-arg