Monday, June 22, 2009

Get command-as-meta in Cocoa Emacs 23

I've been running the Cocoa Nightlies of emacs lately. It's been mostly nice, although I switched back to 22 for a while because meta became super by default, and I couldn't figure out how to change it. The solution is to either go into
M-x Customize -> Environment -> Ns

or put

;; Command is meta in OS X.
(setq ns-command-modifier (quote meta))

in your emacs startup files. You'll also need to install an updated emacsclient since the one for emacs 22 won't work with 23.

2 Comments:

Blogger Chopmo said...

Thanks, that was very helpful!

5:35 PM  
Blogger MarcoCRathbun said...

wonderful ..................................................

1:58 PM  

Post a Comment

<< Home