Variable: window-tool-bar-mode
window-tool-bar-mode is a buffer-local variable defined in
window-tool-bar.el.gz.
Documentation
Non-nil if Window-Tool-Bar mode is enabled.
Use the command window-tool-bar-mode(var)/window-tool-bar-mode(fun) to change this variable.
Probably introduced at or before Emacs version 30.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/window-tool-bar.el.gz
;;;###autoload
(define-minor-mode window-tool-bar-mode
"Toggle display of the tool bar in the tab line of the current buffer."
:global nil
(let ((should-display (and window-tool-bar-mode
tool-bar-map))
(default-value '(:eval (window-tool-bar-string))))
;; Preserve existing tab-line set outside of this mode
(if (or (null tab-line-format)
(equal tab-line-format default-value))
(if should-display
(setq tab-line-format default-value)
(setq tab-line-format nil))
(message
"tab-line-format set outside of window-tool-bar-mode, currently `%S'"
tab-line-format))))