FIX 27.1 font selection change

This commit is contained in:
Nathan Dwarshuis 2020-08-16 12:53:39 -04:00
parent 213c8fea95
commit fd56519d08
1 changed files with 3 additions and 1 deletions

View File

@ -402,12 +402,14 @@ Since I run emacs in [[https://www.gnu.org/software/emacs/manual/html_node/emacs
(defvar nd/theme-window-loaded nil) (defvar nd/theme-window-loaded nil)
(defvar nd/theme-terminal-loaded nil) (defvar nd/theme-terminal-loaded nil)
(setq default-frame-alist '((font . "Dejavu Sans Mono-11")))
;; required for emacsclient/daemon setup ;; required for emacsclient/daemon setup
(if (daemonp) (if (daemonp)
(add-hook 'after-make-frame-functions (add-hook 'after-make-frame-functions
(lambda (frame) (lambda (frame)
(select-frame frame) (select-frame frame)
(set-default-font "Dejavu Sans Mono-11") ;;(set-default-font "Dejavu Sans Mono-11")
(if (window-system frame) (if (window-system frame)
(unless nd/theme-window-loaded (unless nd/theme-window-loaded
(if nd/theme-terminal-loaded (if nd/theme-terminal-loaded