nil check for frame
This commit is contained in:
parent
81e9bc6b0c
commit
86dd6172a8
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
(defun +unicode|init-fonts (&optional frame)
|
||||
"Initialize `unicode-fonts', if in a GUI session."
|
||||
(when (display-graphic-p frame)
|
||||
(when (and frame (display-graphic-p frame))
|
||||
(with-selected-frame frame
|
||||
(require 'unicode-fonts)
|
||||
;; NOTE will impact startup time on first run
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue