Wednesday, April 20, 2011

Default font for emacs on Fedora 12

If you are having trouble setting the default font for emacs on Fedora 12, here’s a simple fix:
  1. Open emacs
  2. Options | Set Default Font…
  3. Choose the font and click “OK”
  4. Options | Save Options
This will save your chosen default font to your ~/.emacs file.

1 comment:

Matthew said...

Here's another way which worked in Fedora 14

http://stackoverflow.com/questions/294664/how-to-set-the-font-size-in-emacs

In summary, in .emacs file:

(set-face-attribute 'default nil :height 60)