examples: emacs: Check existence of font configuration before loading.

* modules/rosenthal/examples/emacs/init.el: Check existence of font
configuration before loading.
This commit is contained in:
Hilton Chain committed 2025-06-25 17:16:47 +08:00
1 parent ead325de92
commit 396f263ff6
1 file changed
+3 -1
+3 -1
View File
@@ -8,7 +8,9 @@
(make-empty-file custom-file)
(load custom-file))
(load-file "$$fonts.el$$")
(let ((font-config "$$fonts.el$$"))
(when (file-exists-p font-config)
(load-file font-config)))
;; Tweak garbage collection strategy.
;;guix:emacs-gcmh