Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to change the default font in Cocoa Emacs on OSX.

I know that in X11 emacs, one can just configure the defaults in an XResources file and they will apply to all frames. In Windows, it's possible to use registry settings to do the same thing. However, I couldn't find a way of doing that on OSX. Is it possible?

I'd rather keep my font settings outside of lisp if possible.

share|improve this question
Please include both the lisp line you used and the error you received. We can't read your mind. – terdon Sep 29 '13 at 15:03
In addition to the example below by @lawlist, here is the link to the official documentation that provides an example of how to set font using the default-frame-alist: – lawlist Sep 29 '13 at 15:49
@terdon: In the question, I indicated that I was looking for an alternative to XResources/Registry that works on OSX with the Cocoa version of Emacs. – Alan Pearce Sep 29 '13 at 16:08
Editing the .emacs file should work in all cases. Including the error you get can help us understand why it's not working. – terdon Sep 29 '13 at 16:16

You must log in to answer this question.

Browse other questions tagged .