commit 2f67ae366ec1d029ffa044279fc07f9526a30573 parent 5cb676775629fd8d6a87b294cc18e3b9e17c5a54 Author: Vincent Demeester <vincent@sbr.pm> Date: Tue, 7 Apr 2020 18:49:42 +0200 config-appearance.el: fix mu-reset-fonts Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | tools/emacs/config/config-appearance.el | | | 18 | +++++++++--------- |
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/tools/emacs/config/config-appearance.el b/tools/emacs/config/config-appearance.el @@ -33,15 +33,15 @@ (defun mu-reset-fonts () "Reset fonts to my preferences." (interactive) - (when when (member "Ubuntu Mono" (font-family-list)) - (set-face-attribute 'default nil - :family "Ubuntu Mono" - :height font-height)) - (when when (member "Ubuntu Sans" (font-family-list)) - (set-face-attribute 'variable-pitch nil - :family "Ubuntu Sans" - :height font-height - :weight 'regular)))) + (when (member "Ubuntu Mono" (font-family-list)) + (set-face-attribute 'default nil + :family "Ubuntu Mono" + :height font-height)) + (when (member "Ubuntu Sans" (font-family-list)) + (set-face-attribute 'variable-pitch nil + :family "Ubuntu Sans" + :height font-height + :weight 'regular)))) ;; -TypeFaceConfiguration (use-package emacs