12
2
I'm trying to get comfortable with emacs. I installed emacs starter kit. Now I'm trying to customize fonts. In ~/.emacs.d/init.el
I did (set-frame-font "-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1")
. It is working fine untill I do C-x 5 2
. The new frame gets created with fonts, that were on the system before my customization. How do I override this behaviour to use only fonts I specify in init.el? Should I, probably, create ~/.emacs
file for such settings (it's missing now)?
Type
M-x customize-option
, enterCustomize variable: default-frame-alist
, clickINS
, enterParameter: font
andValue: "-outline-Droid Sans Mono-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1"
(note surrounding"
for font), clickState
andSave for Future Sessions
– kwarnke – 2017-10-19T10:45:24.943Congrats on the 10K. – Paused until further notice. – 2010-11-13T22:58:32.403
Yay, finally a working answer for this. set-default-font ...? No, that would be too simple! – Sam Watkins – 2012-10-02T04:44:09.387