core: fix missing font error message

This commit is contained in:
Eivind Fonn 2016-06-04 21:40:50 +02:00
parent 3130cc6f2e
commit 654c704f6c
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ the final step of executing code in `emacs-startup-hook'.")
(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."
(mapconcat 'car dotspacemacs-default-font ", "))))
(if (listp (car dotspacemacs-default-font))
(mapconcat 'car dotspacemacs-default-font ", ")
(car dotspacemacs-default-font)))))
;; spacemacs init
(setq inhibit-startup-screen t)
(spacemacs-buffer/goto-buffer)