; Silence byte-compilation warning in last change

* lisp/tab-line.el (tab-line-switch-cycling): Move definition before
first use.
This commit is contained in:
Basil L. Contovounesios 2020-09-10 00:20:24 +01:00
parent 60cb56e999
commit d08568e6e9

View file

@ -642,6 +642,15 @@ using the `previous-buffer' command."
(with-selected-window window
(switch-to-buffer buffer))))))
(defcustom tab-line-switch-cycling nil
"Enable cycling tab switch.
If non-nil, `tab-line-switch-to-prev-tab' in the first tab
switches to the last tab and `tab-line-switch-to-next-tab' in the
last tab switches to the first tab."
:type 'boolean
:group 'tab-line
:version "28.1")
(defun tab-line-switch-to-prev-tab (&optional mouse-event)
"Switch to the previous tab.
Its effect is the same as using the `previous-buffer' command
@ -690,15 +699,6 @@ Its effect is the same as using the `next-buffer' command
(when (bufferp buffer)
(switch-to-buffer buffer)))))))
(defcustom tab-line-switch-cycling nil
"Enable cycling tab switch.
If non-nil, `tab-line-switch-to-prev-tab' in the first tab
switches to the last tab and `tab-line-switch-to-next-tab' in the
last tab switches to the first tab."
:type 'boolean
:group 'tab-line
:version "28.1")
(defcustom tab-line-close-tab-function 'bury-buffer
"Defines what to do on closing the tab.