在我的初始化文件中禁用 aquamacs 的工具栏
我想从 .emacs 文件中的 aquamacs 中永久禁用 GUI 工具栏(“新建”“打开”等小按钮)。我看到建议您在 gui 中禁用它,然后转到“选项>>”外观>>采用面部和框架作为默认值,然后将其设置为永久,但这对我不起作用。我希望我可以添加一些东西到我的 .emacs 中来禁用它。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
尝试将以下内容放入 ~/.emacs 文件中:
Try putting the following in your ~/.emacs file:
我正在使用 Mavericks 并创建 ~/.emacs 并放置(工具栏模式 0)不起作用。相反,我只是在 ~/Library/Preference/Aquamacs Emacs/Preferences.el 文件中添加了该行,然后它就可以正常工作了。
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.
以托马斯的答案为基础,添加
到
~/.emacs.d/init.el
,根据需要创建文件building on thomas' answer add
to
~/.emacs.d/init.el
, creating the file as needed