Merge branch 'make-font-configurable' into 'master'
Make font configurable See merge request FG42/FG42!11
This commit is contained in:
commit
d6a5c8d803
|
@ -56,10 +56,10 @@
|
||||||
(setq delete-old-versions t)
|
(setq delete-old-versions t)
|
||||||
|
|
||||||
;; Font Configuration -----------------------------------
|
;; Font Configuration -----------------------------------
|
||||||
(ability fira-font ()
|
(ability font ()
|
||||||
"Sets the default font to Fira Mono"
|
"Sets the default font to fg42 font"
|
||||||
(add-to-list 'default-frame-alist '(font . "Fira Mono"))
|
(add-to-list 'default-frame-alist '(cons 'font fg42-font))
|
||||||
(set-face-attribute 'default t :font "Fira Mono"))
|
(set-face-attribute 'default t :font fg42-font))
|
||||||
;; ------------------------------------------------------
|
;; ------------------------------------------------------
|
||||||
|
|
||||||
(cheatsheet-add :group '--HELP--
|
(cheatsheet-add :group '--HELP--
|
||||||
|
|
|
@ -42,5 +42,4 @@ it inserts comment at the end of the line."
|
||||||
(interactive) (join-line -1))))
|
(interactive) (join-line -1))))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(provide 'extensions/editor/utils)
|
(provide 'extensions/editor/utils)
|
||||||
|
|
|
@ -66,5 +66,11 @@ with is the buffer."
|
||||||
(put-text-property 0 (length text) 'face face-symbol text))
|
(put-text-property 0 (length text) 'face face-symbol text))
|
||||||
|
|
||||||
|
|
||||||
|
(setq fg42-font "Fira Mono")
|
||||||
|
|
||||||
|
(defun fg42-font (font)
|
||||||
|
(setq fg42-font font))
|
||||||
|
|
||||||
|
|
||||||
(provide 'fg42/utils)
|
(provide 'fg42/utils)
|
||||||
;;; utils.el ends here
|
;;; utils.el ends here
|
||||||
|
|
Loading…
Reference in New Issue