emacs: use different fonts for certain character ranges

master
an 2020-02-15 21:47:35 -05:00
parent f8fdd193cc
commit 2010675d9a
1 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,13 @@
(set-face-attribute 'variable-pitch nil :height 120 :family "Source Sans Pro")
(set-face-attribute 'fixed-pitch nil :height 120 :family "Source Code Pro")
(dolist (range '((#x2310 . #x26bf)
(#x26c0 . #x329f)
(#x1f000 . #x1fa9f)))
(set-fontset-font t range "Noto Color Emoji"))
(set-fontset-font t '(#x2e80 . #x9fff) "Noto Sans CJK JP")
;; scrolling
(setq scroll-conservatively 101
scroll-step 1