diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-12-27 23:37:23 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-12-27 23:37:23 +0100 |
| commit | 92b4f8edb2e26f0e38bf664504d8ea773faffae9 (patch) | |
| tree | 4a22a78f140a086223eb2fefe57c9a94d8a59ea3 /.emacs | |
| parent | 7edcb0729df7c8bcc2dc0b4539bb7371fc468edd (diff) | |
| download | dotfiles-92b4f8edb2e26f0e38bf664504d8ea773faffae9.tar.xz | |
Tweak Emacs font configuration
Diffstat (limited to '.emacs')
| -rw-r--r-- | .emacs | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -329,10 +329,14 @@ (my/unfroggify) (my/froggify))) -;; Font stuff (🤷 🤦) -(set-fontset-font t 'symbol "Symbola" nil 'prepend) +;; Font stuff 🤷🤦. Emacs comes with sensible defaults (e.g. the +;; default fontset includes Symbola for various subgroups of the +;; "symbol" script), but no color font by default. (when (>= emacs-major-version 27) - (set-fontset-font t 'symbol "Noto Color Emoji" nil 'prepend)) + ;; Prefer a color font for emojis. + (set-fontset-font t 'symbol "Noto Color Emoji" nil 'prepend) + ;; Make sure the default font does not get overzealous (⚠⚙). + (setq use-default-font-for-symbols nil)) (defun my/project-root () (when-let ((project (project-current))) |
