diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-24 03:47:19 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-24 03:47:19 -0400 |
commit | 56e8252fbdd3be2cfcdef8a58aa9a7be3f1a17e0 (patch) | |
tree | 3b651cf9fa9b550a7a19bd94692c98e514e6b398 | |
parent | Fix usage of `display-line-numbers-mode` (diff) | |
download | mmosmacs-56e8252fbdd3be2cfcdef8a58aa9a7be3f1a17e0.tar.gz mmosmacs-56e8252fbdd3be2cfcdef8a58aa9a7be3f1a17e0.tar.bz2 mmosmacs-56e8252fbdd3be2cfcdef8a58aa9a7be3f1a17e0.zip |
Use fixed-pitch for `org-mode` instead of variable-pitch
-rw-r--r-- | init.el | 25 |
1 files changed, 2 insertions, 23 deletions
@@ -750,8 +750,7 @@ | |||
750 | ;; is opened. | 750 | ;; is opened. |
751 | (defun mm/org-mode-setup () | 751 | (defun mm/org-mode-setup () |
752 | (org-indent-mode) | 752 | (org-indent-mode) |
753 | (visual-line-mode) | 753 | (visual-line-mode)) |
754 | (variable-pitch-mode)) | ||
755 | 754 | ||
756 | ;; Org font stuff | 755 | ;; Org font stuff |
757 | (defun mm/org-font-setup () | 756 | (defun mm/org-font-setup () |
@@ -773,27 +772,7 @@ | |||
773 | (org-level-7 . 1.1) | 772 | (org-level-7 . 1.1) |
774 | (org-level-8 . 1.1))) | 773 | (org-level-8 . 1.1))) |
775 | (set-face-attribute (car face) nil | 774 | (set-face-attribute (car face) nil |
776 | :font "Noto Sans" | 775 | :height (cdr face)))) |
777 | :weight 'regular | ||
778 | :height (cdr face)) | ||
779 | ;; Ensure anything that should be | ||
780 | ;; fixed-pitch actually is. | ||
781 | (set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch) | ||
782 | (set-face-attribute 'org-table nil :inherit 'fixed-pitch) | ||
783 | (set-face-attribute 'org-formula nil :inherit 'fixed-pitch) | ||
784 | (set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch)) | ||
785 | (set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch)) | ||
786 | (set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch)) | ||
787 | (set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch)) | ||
788 | (set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch)) | ||
789 | (set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch) | ||
790 | (set-face-attribute 'org-time-grid nil :inherit 'fixed-pitch) | ||
791 | (set-face-attribute 'org-scheduled nil :inherit 'fixed-pitch) | ||
792 | (set-face-attribute 'org-agenda-structure nil :inherit 'fixed-pitch) | ||
793 | (set-face-attribute 'org-agenda-date nil :inherit 'fixed-pitch) | ||
794 | (set-face-attribute 'org-agenda-date-today nil :inherit 'fixed-pitch) | ||
795 | (set-face-attribute 'org-agenda-current-time nil :inherit 'fixed-pitch) | ||
796 | (set-face-attribute 'org-agenda-calendar-event nil :inherit 'fixed-pitch))) | ||
797 | 776 | ||
798 | ;; `org' configuration | 777 | ;; `org' configuration |
799 | (use-package org | 778 | (use-package org |