Fix #5176 (again): wrong interactive arg to gt/gT commands

This commit is contained in:
Henrik Lissner 2021-07-08 18:41:03 -04:00
parent 9b1be8f5e2
commit 80c32eaa89

View file

@ -4,7 +4,7 @@
;;;###autoload (autoload '+tabs:next-or-goto "ui/tabs/autoload" nil t) ;;;###autoload (autoload '+tabs:next-or-goto "ui/tabs/autoload" nil t)
(evil-define-command +tabs:next-or-goto (index) (evil-define-command +tabs:next-or-goto (index)
"Switch to the next tab, or to INDEXth tab if a count is given." "Switch to the next tab, or to INDEXth tab if a count is given."
(interactive "<C>") (interactive "<c>")
(if index (if index
(centaur-tabs-select-visible-nth-tab index) (centaur-tabs-select-visible-nth-tab index)
(centaur-tabs-forward))) (centaur-tabs-forward)))
@ -12,7 +12,7 @@
;;;###autoload (autoload '+tabs:previous-or-goto "ui/tabs/autoload" nil t) ;;;###autoload (autoload '+tabs:previous-or-goto "ui/tabs/autoload" nil t)
(evil-define-command +tabs:previous-or-goto (index) (evil-define-command +tabs:previous-or-goto (index)
"Switch to the previous tab, or to INDEXth tab if a count is given." "Switch to the previous tab, or to INDEXth tab if a count is given."
(interactive "<C>") (interactive "<c>")
(if index (if index
(centaur-tabs-select-visible-nth-tab index) (centaur-tabs-select-visible-nth-tab index)
(centaur-tabs-backward))) (centaur-tabs-backward)))