How to set the font size in Emacs?

Juba picture Juba · Nov 17, 2008 · Viewed 201.6k times · Source

I also want to save the font size in my .emacs file.

Answer

huaiyuan picture huaiyuan · Nov 17, 2008
(set-face-attribute 'default nil :height 100)

The value is in 1/10pt, so 100 will give you 10pt, etc.