I have tried the following at the very end of my Emacs init file:
(set-frame-font "DejaVu Sans Mono-6")
(set-default-font "DejaVu Sans Mono-6")
(set-face-attribute 'default nil :font "DejaVu Sans Mono-6" :height 100)
When starting Emacs (GUI), while it's loading it's modules etc. I can see the font changing to the correct one, but at det very last second the window blinks and the font is reset to something like Terminus.
After Emacs has started, I can eval the code above, and the font sets correctly.
Im using bbatsov's prelude with Emacs 24.3.1, from offical repos.
Anyone know what is causing it to reset, and what I can do to prevent it?