Variable: tab-bar-new-button-show

tab-bar-new-button-show is a customizable variable defined in tab-bar.el.gz.

This variable is obsolete since 28.1; use tab-bar-format instead.

Value

t

Documentation

If non-nil, show the "New tab" button in the tab bar.

When this is nil, you can create new tabs with C-x t 2 (tab-new).

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

Source Code

;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defcustom tab-bar-new-button-show t
  "If non-nil, show the \"New tab\" button in the tab bar.
When this is nil, you can create new tabs with \\[tab-new]."
  :type 'boolean
  :initialize #'custom-initialize-default
  :set (lambda (sym val)
         (set-default sym val)
         (force-mode-line-update))
  :group 'tab-bar
  :version "27.1")