开发者

Disable the toolbar from aquamacs in my init file

开发者 https://www.devze.com 2023-04-10 08:52 出处:网络
I want 开发者_运维技巧to permanently disable the GUI toolbar (the little buttons for \"New\" \"Open\", etc.) from aquamacs in my .emacs file.I have seen suggestions that you disable it in the gui and

I want 开发者_运维技巧to permanently disable the GUI toolbar (the little buttons for "New" "Open", etc.) from aquamacs in my .emacs file. I have seen suggestions that you disable it in the gui and the go to Options >> Appearance >> Adopt Face and Frame as Default and then set that to permanent, but that is not working for me. I was hoping for something I could add to my .emacs that will disable it.


Try putting the following in your ~/.emacs file:

(tool-bar-mode 0)


I am using Mavericks and creating ~/.emacs and put (tool-bar-mode 0) did not work. Instead, I just added the line in the ~/Library/Preference/Aquamacs Emacs/Preferences.el file, then it worked fine.


building on thomas' answer add

(set-tool-mode 0)

to ~/.emacs.d/init.el, creating the file as needed

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号