summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2020-08-31 17:16:02 -0700
committerFranck Cuny <franck.cuny@gmail.com>2020-08-31 17:16:02 -0700
commit3dc317fb9653ced0bf6bab6e839dc5ba5125eb50 (patch)
tree99c36d28117afa887d15530add2b22d914e508ae /emacs
parentemacs: add git-link / support for sourcegraph (diff)
downloademacs.d-3dc317fb9653ced0bf6bab6e839dc5ba5125eb50.tar.gz
emacs: set the font for macos
We only want to use 'Source Code Pro' with a size of 15 on macos.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-ui.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el
index 63228cb..e3b775b 100644
--- a/emacs.d/custom/fcuny-ui.el
+++ b/emacs.d/custom/fcuny-ui.el
@@ -15,8 +15,8 @@
   :config
   (blink-cursor-mode -1)
   (setq frame-title-format "%b")
-  (set-frame-font "Source Code Pro-15")
   (when (memq window-system '(mac ns))
+    (set-frame-font "Source Code Pro-15")
     (add-to-list 'default-frame-alist '(fullscreen . maximized))
     (add-to-list 'default-frame-alist '(ns-appearance . nil))
     (add-to-list 'default-frame-alist '(ns-transparent-titlebar . nil))