Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Commit

Permalink
Organize init: Mac and GNU/Linux use same default font
Browse files Browse the repository at this point in the history
You can find SauceCodePro Nerd in ~/.emacs.d/font/
  • Loading branch information
Hongwei Fang committed Dec 19, 2016
1 parent 98390de commit d80a5c7
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions init-helpers/init-helpers.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
;; Default Font for different window systems
(when (window-system)
;; Mac OS X
(when (eq system-type 'darwin)
(when (or (eq system-type 'gnu/linux) (eq system-type 'darwin))
;;
;;(set-face-font 'default "Monaco")
;;(set-face-font 'default "Menlo")
Expand All @@ -61,14 +61,7 @@

;; Windows whatever...
(when (eq system-type 'windows-nt)
(set-face-font 'default "Consolas"))

;; GNU Linux (Droid or Vera)
(when (eq system-type 'gnu/linux)
;; for quick swapping.
;; (set-face-font 'default "Bitstream Vera Sans Mono")
;; (set-face-font 'default "Droid Sans Mono")
(set-face-font 'default "DejaVu Sans Mono"))))
(set-face-font 'default "Consolas"))))

(provide 'init-helpers)

Expand Down

0 comments on commit d80a5c7

Please sign in to comment.