mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Use Source Code Pro if available
This commit is contained in:
parent
a299b396d4
commit
0175f3fe82
6
init.org
6
init.org
@ -392,8 +392,10 @@
|
|||||||
Use the [[http://www.levien.com/type/myfonts/inconsolata.html][Inconsolata]] font if it's installed on the system.
|
Use the [[http://www.levien.com/type/myfonts/inconsolata.html][Inconsolata]] font if it's installed on the system.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(when (member "Inconsolata" (font-family-list))
|
(cond ((member "Source Code Pro" (font-family-list))
|
||||||
(set-face-attribute 'default nil :font "Inconsolata-14"))
|
(set-face-attribute 'default nil :font "Source Code Pro-13"))
|
||||||
|
((member "Inconsolata" (font-family-list))
|
||||||
|
(set-face-attribute 'default nil :font "Inconsolata-14")))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
[[http://www.eskimo.com/~seldon/diminish.el][diminish.el]] allows you to hide or abbreviate their presence in the
|
[[http://www.eskimo.com/~seldon/diminish.el][diminish.el]] allows you to hide or abbreviate their presence in the
|
||||||
|
Loading…
Reference in New Issue
Block a user