Variable: tab-line-switch-cycling

tab-line-switch-cycling is a customizable variable defined in tab-line.el.gz.

Value

t

Documentation

Wrap tabs on tab switch while cycling.

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. This variable is not consulted when tab-line-tabs-function is tab-line-tabs-window-buffers.

This variable was added, or its default value changed, in Emacs 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/tab-line.el.gz
(defcustom tab-line-switch-cycling t
  "Wrap tabs on tab switch while cycling.
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.  This variable is not consulted
when `tab-line-tabs-function' is `tab-line-tabs-window-buffers'."
  :type 'boolean
  :group 'tab-line
  :version "28.1")