开发者

Emacs Starter Kit on the Mac

开发者 https://www.devze.com 2023-01-15 18:27 出处:网络
I just installed Emacs on my mac from here: http://emacsformacosx.com/ and that got rid of all the menus. Ho开发者_如何学运维w do I get those menus back?Look for menu-bar-mode in your ~/.emacsor ~/.em

I just installed Emacs on my mac from here: http://emacsformacosx.com/ and that got rid of all the menus. Ho开发者_如何学运维w do I get those menus back?


Look for menu-bar-mode in your ~/.emacs or ~/.emacs.d/init.el file.

You should find...

(menu-bar-mode -1) 

If so, remove it. If you don't find it... add the following line.

(menu-bar-mode 1) 

and save the file.


If you want to enable or disable the menu in emacs, you can use

M-x menu-bar-mode

and if you want the same with the toolbar you can use

M-x tool-bar-mode

The menu should be enabled "by default" unless stated otherwise in your .emacs file which you can find in emacs using C-x C-f ~/.emacs.

0

精彩评论

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