mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Use the beautiful Hasklig font when available
This commit is contained in:
parent
8deadfe74e
commit
98e12fc1e4
4
init.org
4
init.org
@ -408,8 +408,8 @@
|
||||
Use the [[http://www.levien.com/type/myfonts/inconsolata.html][Inconsolata]] font if it's installed on the system.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(cond ((member "Source Code Pro" (font-family-list))
|
||||
(set-face-attribute 'default nil :font "Source Code Pro-13"))
|
||||
(cond ((member "Hasklig" (font-family-list))
|
||||
(set-face-attribute 'default nil :font "Hasklig-14"))
|
||||
((member "Inconsolata" (font-family-list))
|
||||
(set-face-attribute 'default nil :font "Inconsolata-14")))
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user