From 56e8252fbdd3be2cfcdef8a58aa9a7be3f1a17e0 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Sat, 24 Jun 2023 03:47:19 -0400 Subject: Use fixed-pitch for `org-mode` instead of variable-pitch --- init.el | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/init.el b/init.el index 601f8ea..f7a06dd 100644 --- a/init.el +++ b/init.el @@ -750,8 +750,7 @@ ;; is opened. (defun mm/org-mode-setup () (org-indent-mode) - (visual-line-mode) - (variable-pitch-mode)) + (visual-line-mode)) ;; Org font stuff (defun mm/org-font-setup () @@ -773,27 +772,7 @@ (org-level-7 . 1.1) (org-level-8 . 1.1))) (set-face-attribute (car face) nil - :font "Noto Sans" - :weight 'regular - :height (cdr face)) - ;; Ensure anything that should be - ;; fixed-pitch actually is. - (set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch) - (set-face-attribute 'org-table nil :inherit 'fixed-pitch) - (set-face-attribute 'org-formula nil :inherit 'fixed-pitch) - (set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch)) - (set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch)) - (set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch)) - (set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch)) - (set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch)) - (set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch) - (set-face-attribute 'org-time-grid nil :inherit 'fixed-pitch) - (set-face-attribute 'org-scheduled nil :inherit 'fixed-pitch) - (set-face-attribute 'org-agenda-structure nil :inherit 'fixed-pitch) - (set-face-attribute 'org-agenda-date nil :inherit 'fixed-pitch) - (set-face-attribute 'org-agenda-date-today nil :inherit 'fixed-pitch) - (set-face-attribute 'org-agenda-current-time nil :inherit 'fixed-pitch) - (set-face-attribute 'org-agenda-calendar-event nil :inherit 'fixed-pitch))) + :height (cdr face)))) ;; `org' configuration (use-package org -- cgit v1.2.3