emacs.d

My emacs configuration, done in a literate programming fashion using org-mode

git clone git://git.shimmy1996.com/emacs.d.git
commit 352aa3821937c38ddf96f7a170346987ca1f8269
parent 0a3671243714986d75899fce61f159f1a0ce08a4
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Thu, 28 Jun 2018 20:20:01 -0500

Rearrange font settings in a more logical way.

Diffstat:
MREADME.org | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.org b/README.org
@@ -119,6 +119,10 @@ Specify font settings.
   (defvar user/standard-fontset
     (create-fontset-from-fontset-spec standard-fontset-spec)
     "Standard fontset for user.")
+
+  ;; Ensure user/standard-fontset gets used for new frames.
+  (add-to-list 'default-frame-alist (cons 'font user/standard-fontset))
+  (add-to-list 'initial-frame-alist (cons 'font user/standard-fontset))
 #+END_SRC
 
 *** CJK Font Scaling
@@ -176,16 +180,12 @@ Use ~C-u C-x =~ to examine the font used for a specific character and use
                         nil 'prepend))
     ;; Special settings for certain CJK puncuation marks.
     ;; These are full-width characters but by default uses half-width glyphs.
-    (dolist (charset '((#x2018 . #x2019)    ;; CJK single quotes "‘’"
-                       (#x201c . #x201d)))  ;; CJK double quotes "“”"
+    (dolist (charset '((#x2018 . #x2019)    ;; Curly single quotes "‘’"
+                       (#x201c . #x201d)))  ;; Curly double quotes "“”"
       (set-fontset-font user/standard-fontset charset
                         (font-spec :family user/cjk-font)
                         nil 'prepend)))
 
-  ;; Ensure user/standard-fontset gets used for new frames.
-  (add-to-list 'default-frame-alist (cons 'font user/standard-fontset))
-  (add-to-list 'initial-frame-alist (cons 'font user/standard-fontset))
-
   ;; Apply changes.
   (user/set-font)
   ;; For emacsclient.