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