Add function to set the frame font
This commit is contained in:
parent
4f8d3e4fec
commit
621e4aea64
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user