diff options
author | noa@gaiwan.org | 2024-06-13 08:28:08 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-13 08:28:08 +0000 |
commit | 65b1417a7d1443ea83595529389634fe3bbf0280 (patch) | |
tree | 31d5fbd6ec0eb4e9808c8f28de915ae356ce69c6 | |
parent | ca53d187418b38cefb3ff32736271f915456dd4d (diff) |
Update indentation for cjk charset configuration
-rw-r--r-- | emacs/init.el | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/emacs/init.el b/emacs/init.el index 71cfd29..61aed99 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -932,15 +932,8 @@ and when JID is not in `jabber-activity-banned'." '(variable-pitch ((t (:family "SN Pro" :height 110)))) ) ;; For some frustrating reason, emacs does not respect fontconfig font settings. What this means in practice is that emacs by default draws cjk characters with the korean variant. Luckily emacs has its own obscure and poorly documented way of doing things, so i can iterate over the relevant charsets and set the font specifically for those characters. -(dolist ( - charset '( - han - ;; symbol - cjk-misc)) - (set-fontset-font t charset ( - font-spec :family "Noto Sans CJK SC" - )) -) +(dolist (charset '(han cjk-misc)) + (set-fontset-font t charset (font-spec :family "Noto Sans CJK SC"))) ;; Describe a key based on a string like "C-SPC" (defun describe-key-shortcut (shortcut) |