Variable: horizontal-scroll-bar-mode
horizontal-scroll-bar-mode is a customizable variable defined in
scroll-bar.el.gz.
Value
nil
Documentation
Non-nil if Horizontal-Scroll-Bar mode is enabled.
See the horizontal-scroll-bar-mode(var)/horizontal-scroll-bar-mode(fun) command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node (emacs)Easy Customization)
or call the function horizontal-scroll-bar-mode(var)/horizontal-scroll-bar-mode(fun).
Probably introduced at or before Emacs version 25.1.
Key Bindings
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)))))