Variable: horizontal-scroll-bar-mode-hook
horizontal-scroll-bar-mode-hook is a customizable variable defined in
scroll-bar.el.gz.
Value
nil
Documentation
Hook run after entering or leaving horizontal-scroll-bar-mode(var)/horizontal-scroll-bar-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in /usr/src/emacs/lisp/scroll-bar.el.gz
(define-minor-mode horizontal-scroll-bar-mode
"Toggle horizontal scroll bars on all frames (Horizontal Scroll Bar mode).
This command applies to all frames that exist and frames to be
created in the future."
:init-value nil
:global t
:group 'frames
(if (and horizontal-scroll-bar-mode
(not (horizontal-scroll-bars-available-p)))
(progn
(setq horizontal-scroll-bar-mode nil)
(message "Horizontal scroll bars are not implemented on this system"))
(dolist (frame (frame-list))
(set-frame-parameter
frame 'horizontal-scroll-bars horizontal-scroll-bar-mode))
;; Handle `default-frame-alist' entry.
(setq default-frame-alist
(cons (cons 'horizontal-scroll-bars horizontal-scroll-bar-mode)
(assq-delete-all 'horizontal-scroll-bars
default-frame-alist)))))