Disabling the Emacs menubar, toolbar, or scrollbar
- To disable the menu bar, place the following line in your .emacs file:
(menu-bar-mode -1) - To disable the scrollbar, use the following line:
(scroll-bar-mode -1) - To disable the toolbar, use the following line:
(tool-bar-mode -1)
Note: If, after turning any of these off, you want to re-enable them for a single emacs window, you can do so by pressing Meta-x and then typing the command at the M-x prompt.
Example:
M-x tool-bar-mode
will turn the toolbar back on.
Note: All of these commands are "toggles", so repeated use of the command will turn the feature in question on or off.