mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add doom/reload-font command
This commit is contained in:
@ -141,6 +141,15 @@ windows (unlike `doom/window-zoom') Activate again to undo."
|
|||||||
(maximize-window))
|
(maximize-window))
|
||||||
t)))
|
t)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun doom/reload-font ()
|
||||||
|
"Reload `doom-font', `doom-variable-pitch-font', and `doom-unicode-font', if
|
||||||
|
set."
|
||||||
|
(interactive)
|
||||||
|
(when (fontp doom-font)
|
||||||
|
(set-frame-font doom-font t))
|
||||||
|
(doom|init-fonts))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Modes
|
;; Modes
|
||||||
|
Reference in New Issue
Block a user