diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-11-07 07:51:18 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2019-11-07 07:51:18 +0100 |
commit | cf8d8e01ffc33c9e0b11dfcba5aceacb2f42c538 (patch) | |
tree | 3ca44f75c99d34540f165dff54a0aa8950a89a8b /helm-utils.el | |
parent | caf32257aac9f87b405b362b5fdff0af3bffea6b (diff) |
Fix function change in emacs-27
tab-bar-select-tab require now a index table as argument and not a
tab.
* helm-utils.el (helm-buffers-switch-to-buffer-or-tab): Do it.
Diffstat (limited to 'helm-utils.el')
-rw-r--r-- | helm-utils.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-utils.el b/helm-utils.el index f246dd51..29d2bfe6 100644 --- a/helm-utils.el +++ b/helm-utils.el @@ -284,7 +284,7 @@ If a prefix arg is given split windows vertically." (tab (helm-buffers--get-tab-from-name bname tabs))) (if (helm-buffers--buffer-in-tab-p bname tab-names) (progn - (tab-bar-select-tab tab) + (tab-bar-switch-to-tab (alist-get 'name tab)) (select-window (get-buffer-window bname))) (switch-to-buffer buffer))) (switch-to-buffer buffer))) |