summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-21 14:29:01 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-08-21 14:29:01 -0700
commit1eeb90de8630fb99d08490c2781f5b3e13aea78c (patch)
tree46c379fd008fd9645712125b580f32c1c6e6b9b3
parent26871fd17b70b250aa66d1d92514d3cd2b8946ce (diff)
downloaddotfiles-1eeb90de8630fb99d08490c2781f5b3e13aea78c.tar.gz
simplify just to use Cousine for now
-rw-r--r--.emacs.d/init-spw.el13
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