mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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))
|
||||
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
|
||||
|
Reference in New Issue
Block a user