Function: tab-bar-format-history

tab-bar-format-history is a byte-compiled function defined in tab-bar.el.gz.

Signature

(tab-bar-format-history)

Documentation

Produce back and forward buttons for the tab bar.

These buttons will be shown when tab-bar-history-mode(var)/tab-bar-history-mode(fun) is enabled. You can hide these buttons by customizing tab-bar-format and removing tab-bar-format-history from it.

Source Code

;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defun tab-bar-format-history ()
  "Produce back and forward buttons for the tab bar.
These buttons will be shown when `tab-bar-history-mode' is enabled.
You can hide these buttons by customizing `tab-bar-format' and removing
`tab-bar-format-history' from it."
  (when tab-bar-history-mode
    `((sep-history-back menu-item ,(tab-bar-separator) ignore)
      (history-back
       menu-item ,tab-bar-back-button tab-bar-history-back
       :help "Click to go back in tab history")
      (sep-history-forward menu-item ,(tab-bar-separator) ignore)
      (history-forward
       menu-item ,tab-bar-forward-button tab-bar-history-forward
       :help "Click to go forward in tab history"))))