projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea84222
)
* lisp/tab-bar.el (tab-bar-switch-to-last-tab): Add 'abs' for precautions.
author
Juri Linkov
<juri@linkov.net>
Sun, 12 Dec 2021 18:25:54 +0000
(20:25 +0200)
committer
Juri Linkov
<juri@linkov.net>
Sun, 12 Dec 2021 18:25:54 +0000
(20:25 +0200)
https://lists.gnu.org/archive/html/emacs-devel/2021-11/msg01149.html
lisp/tab-bar.el
patch
|
blob
|
history
diff --git
a/lisp/tab-bar.el
b/lisp/tab-bar.el
index cfd766d54951f080e73f5f8e9b809080c187087a..68d28306dd9563e9e80549ba21654a708ece225c 100644
(file)
--- a/
lisp/tab-bar.el
+++ b/
lisp/tab-bar.el
@@
-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.