Function: tab-line-mode

tab-line-mode is an autoloaded, interactive and byte-compiled function defined in tab-line.el.gz.

Signature

(tab-line-mode &optional ARG)

Documentation

Toggle display of tab line in the windows displaying the current buffer.

This is a minor mode. If called interactively, toggle the Tab-Line mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate tab-line-mode(var)/tab-line-mode(fun).

The mode's hook is called both when the mode is enabled and when it is disabled.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/tab-line.el.gz
;;;###autoload
(define-minor-mode tab-line-mode
  "Toggle display of tab line in the windows displaying the current buffer."
  :lighter nil
  (setq tab-line-format (when tab-line-mode '(:eval (tab-line-format)))))