Add function to set the frame font

This commit is contained in:
Jeremy Dormitzer 2021-02-26 16:47:28 -05:00
parent 4f8d3e4fec
commit 621e4aea64

View File

@ -19,4 +19,11 @@
(use-package hide-mode-line
:commands hide-mode-line-mode)
;; A function to set the frame font
(defun set-font (font)
"Set the frame font to `font'"
(interactive (list (completing-read "Font: "
(delete-dups (font-family-list)))))
(set-frame-font font))
(provide 'init-ui)