Variable: vertical-scroll-bar

vertical-scroll-bar is a buffer-local variable defined in buffer.c.

Documentation

Position of this buffer's vertical scroll bar.

The value takes effect whenever you tell a window to display this buffer; for instance, with set-window-buffer or when display-buffer displays it.

A value of left or right means put the vertical scroll bar at that side of the window; a value of nil means don't show any vertical scroll bars. A value of t (the default) means do whatever the window's frame specifies.

View in manual

Probably introduced at or before Emacs version 19.20.

Source Code

// Defined in /usr/src/emacs/src/buffer.c
  DEFVAR_PER_BUFFER ("vertical-scroll-bar", &BVAR (current_buffer, vertical_scroll_bar_type),
		     Qvertical_scroll_bar,
		     doc: /* Position of this buffer's vertical scroll bar.
The value takes effect whenever you tell a window to display this buffer;
for instance, with `set-window-buffer' or when `display-buffer' displays it.

A value of `left' or `right' means put the vertical scroll bar at that side
of the window; a value of nil means don't show any vertical scroll bars.
A value of t (the default) means do whatever the window's frame specifies.  */);