3
  1. Old ~/.emacs ignored in Emacs 25:
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(default ((t (:background nil :family "Droid Sans Mono" :foundry "unknown" :slant normal :weight normal :height 164 :width normal))))
  1. Menu > Set default font, Menu > Save Options - don't save selected font after restart.

Total, options ran out. Where can I find documentation on how to do this in Emacs 25?

jone
  • 41
  • 1
  • 4
  • Hmm, strange.. I reset font settings, and everything was corrected. But the problem arose immediately after upgrading Emacs 24 > Emacs 25. All the same, thanks :) – jone Oct 19 '16 at 20:35
  • yep, and even more strange the fat that doing `M-x load-file .emacs` after emacs has started, set the font correctly. – Oberix Jun 30 '17 at 09:57

2 Answers2

3

You can set the font in your init.el setting file

(set-default-font "Inconsolata 12")

You can also try the following:

 (set-face-attribute 'default nil
                :family "Inconsolata" :height 150 :weight 'normal)
Stryker
  • 5,732
  • 1
  • 57
  • 70
2

These seems to be an issue with gconf overriding emacs customizations. As answered here.

Simply put these line in your .emacs (define-key special-event-map [config-changed-event] #'ignore)

Oberix
  • 1,131
  • 7
  • 13