I have installed emacs23 on Linux Mint 8. I would like to hide the toolbar, and I can do it with Options > Show/Hide > Tool-bar. But the Tool-bar comes back next time I start emacs. How can I hide it persistently?

link|improve this question

feedback

2 Answers

up vote 9 down vote accepted

Add the following to your init file (~/.emacs or _emacs or ~/.emacs.d/init.el):

(tool-bar-mode -1)
link|improve this answer
feedback

Emacs has a nice built-in customization interface.

Select Options › Customize Emacs › Specific Option, start typing tool, then hit TAB to see the options starting with tool. Choose tool-bar-mode then. Toggle its value to switch it off, and press Save for future sessions.

link|improve this answer
Thanks, this was a more general solution. But when I pressed "Save for future sessions", I got "Cannot save customixations; init file was not fully loaded" ...so I think I have some problem with my .emacs-file, but I don't understand it. – Jonas Apr 8 '10 at 15:08
1  
Sanoj: the best fix for that, if you don't know any lisp, is to make an empty .emacs, and then copy parts of your old .emacs in one at a time and make sure no errors show up in the Messages buffer at startup for each portion you add back in. Or you can put a ";" before lines to comment them out, and follow a similar process of uncommenting a small section, and making sure there are no errors when you restart. – Justin Smith Apr 12 '10 at 7:11
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.