summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-10-03 21:57:55 -0500
committerSimon Parri <simonparri@ganzeria.com>2025-10-03 21:57:55 -0500
commitb5738b2d2514fd6920cfa5f9ef2e47e6b05daef8 (patch)
tree242748d9b51d740e14aa78193e43000955725036
parentac446810afc5edb98874182a3197127b6fbf50e3 (diff)
downloaddotfiles-b5738b2d2514fd6920cfa5f9ef2e47e6b05daef8.tar.gz
dotfiles-b5738b2d2514fd6920cfa5f9ef2e47e6b05daef8.zip
Emacs: Avoid font aliases when on Android
-rw-r--r--common/.emacs.d/init.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/common/.emacs.d/init.el b/common/.emacs.d/init.el
index 6db23d5..b24b4c3 100644
--- a/common/.emacs.d/init.el
+++ b/common/.emacs.d/init.el
@@ -129,9 +129,12 @@
:config
(add-to-list 'face-remapping-alist '(tab-bar-tab-inactive mode-line-inactive))
+ (when (not (eq system-type 'android))
+ (custom-set-faces
+ '(default ((t (:font "monospace 7"))))
+ '(variable-pitch ((t (:font "sans-serif 8"))))))
+
(custom-set-faces
- '(default ((t (:font "monospace 7"))))
- '(variable-pitch ((t (:font "sans-serif 8"))))
'(font-lock-comment-face ((t (:slant italic))))))
(progn ;; transparency