Next: , Previous: , Up: Customisation  

3.9: Scrollbars

Q3.9.1: How can I disable the scrollbar?

To disable them for all frames, add the following line to your .Xresources:

Emacs.scrollBarWidth:  0

Or select from the Options menu Frame Appearance->Scrollbars. Remember to save options.

To turn the scrollbar off on a per-frame basis, use the following function:

(set-specifier scrollbar-width 0 (selected-frame))

You can actually turn the scrollbars on at any level you want by substituting for (selected-frame) in the above command. For example, to turn the scrollbars off only in a single buffer:

(set-specifier scrollbar-width 0 (current-buffer))