Questions tagged «emacs»

4
如何检查Emacs是否处于GUI模式(然后仅执行`tool-bar-mode`)?
我的.emacs档案中有这行: (tool-bar-mode 0) 因为我讨厌GUI emacs(/Applications/Emacs.app/Contents/MacOS/Emacs)中的工具栏。 但是,当我在终端(/opt/local/bin/emacs)中启动其他基于文本的emacs时,它会抱怨该命令: Symbol's function definition is void: tool-bar-mode 如何添加if条件,以便tool-bar-mode仅当我在GUI emacs中时才执行命令? 谢谢!
16 mac-osx  emacs 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.