commit 3fb5e4d1cf16c022c804e96aa640103c5b9674e2
parent 1efb8a3588e30cb748ce633f6572bdc5e00ede1e
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sun, 3 May 2020 14:56:36 +0200
config-appearance.el: configure fixed-pitch face too
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/emacs/config/config-appearance.el b/tools/emacs/config/config-appearance.el
@@ -16,6 +16,9 @@
(when (member "Ubuntu Mono" (font-family-list))
(set-face-attribute 'default nil
:family "Ubuntu Mono"
+ :height font-height)
+ (set-face-attribute 'fixed-pitch nil
+ :family "Ubuntu Mono"
:height font-height))
(when (member "Ubuntu Sans" (font-family-list))
(set-face-attribute 'variable-pitch nil
diff --git a/tools/emacs/early-init.el b/tools/emacs/early-init.el
@@ -41,6 +41,9 @@
(when (member "Ubuntu Mono" (font-family-list))
(set-face-attribute 'default nil
:family "Ubuntu Mono"
+ :height font-height)
+ (set-face-attribute 'fixed-pitch nil
+ :family "Ubuntu Mono"
:height font-height))
(when (member "Ubuntu Sans" (font-family-list))
(set-face-attribute 'variable-pitch nil