diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-21 14:29:01 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-21 14:29:01 -0700 |
commit | 1eeb90de8630fb99d08490c2781f5b3e13aea78c (patch) | |
tree | 46c379fd008fd9645712125b580f32c1c6e6b9b3 | |
parent | 26871fd17b70b250aa66d1d92514d3cd2b8946ce (diff) | |
download | dotfiles-1eeb90de8630fb99d08490c2781f5b3e13aea78c.tar.gz |
simplify just to use Cousine for now
-rw-r--r-- | .emacs.d/init-spw.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el index 3a94251e..aaf0eb0c 100644 --- a/.emacs.d/init-spw.el +++ b/.emacs.d/init-spw.el @@ -177,7 +177,7 @@ add places the library might be available to `load-path'." ;; choice of font and size is driven by aim to fit eighty columns of ;; text in both halves of my laptop's monitor -(defvar spw/preferred-latin-fonts '("Inconsolata-12" "Cousine-10")) +(defvar spw/preferred-latin-fonts '("Cousine-10")) (defvar spw/preferred-han-fonts '("Noto Serif CJK JP-10")) (defvar spw/preferred-hangul-fonts '("Noto Serif CJK KR-10")) (defun spw/first-available-font (fonts) @@ -204,11 +204,12 @@ add places the library might be available to `load-path'." ;; again on laptop, need to fit a bit more in these windows than can ;; with Inconsolata - (when (find-font (font-spec :name "Cousine-10")) - (dolist (pair '(;; (org . org-mode-hook) - (org-agenda . org-agenda-mode-hook))) - (eval-after-load (car pair) - `(add-hook ',(cdr pair) #'spw/select-cousine)))))) + ;; (when (find-font (font-spec :name "Cousine-10")) + ;; (dolist (pair '(;; (org . org-mode-hook) + ;; (org-agenda . org-agenda-mode-hook))) + ;; (eval-after-load (car pair) + ;; `(add-hook ',(cdr pair) #'spw/select-cousine)))) + )) ;; `find-font' will fail until there is a graphical frame, which might ;; not be yet, so set up a hook (which will remove itself after |