From 1e5a04b6ff1bdc1281b86d232fbb925ae235d71a Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Wed, 14 Feb 2024 09:37:08 +0100 Subject: [PATCH] Use specific face setttings on nov mode only on linux --- bundle/bundle--package.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 542fffac..dd6a4f0b 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -21,7 +21,8 @@ (defun mk/nov-font-settings () (setq-local line-spacing 2) - (face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family (if (eq system-type 'windows-nt) "Noto Serif" "Bitter Pro"))) + (when (eq system-type 'gnu/linux) + (face-remap-add-relative 'variable-pitch :weight 'normal :height 1.0 :family "Bitter Pro"))) (use-package nov :hook ((nov-mode . visual-line-mode)