* lisp/tab-bar.el (tab-bar-switch-to-last-tab): Add 'abs' for precautions.
https://lists.gnu.org/archive/html/emacs-devel/2021-11/msg01149.html
This commit is contained in:
parent
ea8422204f
commit
62139aeb42
1 changed files with 1 additions and 1 deletions
|
@ -1175,7 +1175,7 @@ which means the last tab on the tab bar. For example, `C-u 2
|
|||
<MODIFIER>-9' selects the tab before the last tab."
|
||||
(interactive "p")
|
||||
(tab-bar-select-tab (- (length (funcall tab-bar-tabs-function))
|
||||
(1- (or arg 1)))))
|
||||
(1- (abs (or arg 1))))))
|
||||
|
||||
(defun tab-bar-switch-to-recent-tab (&optional arg)
|
||||
"Switch to ARGth most recently visited tab.
|
||||
|
|
Loading…
Add table
Reference in a new issue