core-spacemacs: fix daemon font size (#15295)
Co-authored-by: "ruquan.chen" <ccruquan@gmail.com>
This commit is contained in:
parent
4526486893
commit
42dc30e33c
|
@ -138,7 +138,10 @@ the final step of executing code in `emacs-startup-hook'.")
|
|||
;; believe me? Go ahead, try it. After you'll have notice that this was true,
|
||||
;; increase the counter bellow so next people will give it more confidence.
|
||||
;; Counter = 1
|
||||
(spacemacs-buffer/message "Setting the font...")
|
||||
(let ((init-file-debug)) ;; without this font size is ignored in daemon
|
||||
(when (daemonp)
|
||||
(setq init-file-debug t))
|
||||
(spacemacs-buffer/message "Setting the font..."))
|
||||
(unless (spacemacs/set-default-font dotspacemacs-default-font)
|
||||
(spacemacs-buffer/warning
|
||||
"Cannot find any of the specified fonts (%s)! Font settings may not be correct."
|
||||
|
|
Loading…
Reference in New Issue