summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-10-06 00:50:19 +0300
committerJuri Linkov <juri@linkov.net>2019-10-06 00:50:19 +0300
commite3fcf1f38bb5900a595f441a13cf83b034701790 (patch)
tree2a1da791a1f11226fb727cbe81e50326a16c1fcd /lisp/emacs-lisp
parent080e8084e83f70f9add7b42d2f24b03db931fcf9 (diff)
downloademacs-e3fcf1f38bb5900a595f441a13cf83b034701790.tar.gz
emacs-e3fcf1f38bb5900a595f441a13cf83b034701790.tar.bz2
emacs-e3fcf1f38bb5900a595f441a13cf83b034701790.zip
* lisp/tab-bar.el: In tab switching allow absolute and relative args.
* lisp/tab-bar.el (tab-bar-tab-hints): New defcustom. (tab-bar-make-keymap-1): Use tab-bar-tab-hints. (tab-bar--tab, tab-bar--current-tab, tab-bar--current-tab-index) (tab-bar--tab-index, tab-bar--tab-index-by-name): New internal functions. (tab-bar-select-tab): Use arg as absolute position of tab to select. (tab-bar-switch-to-next-tab, tab-bar-switch-to-prev-tab): Use arg as offset relative to the current tab. (tab-bar-switch-to-tab): New command. (tab-bar-new-tab): Simplify by using cl-pushnew. (tab-bar-close-current-tab): Remove (the current tab is closed by nil arg of tab-bar-close-tab). (tab-bar-close-tab): Use arg as absolute position of tab to close. (tab-bar-close-tab-by-name): New command.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions