[Org] Use fixed-pitch font for tables

This commit is contained in:
Marcel Kapfer 2022-10-13 20:19:35 +02:00
parent a16774d160
commit bd8f9f30e7
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 2 additions and 1 deletions

View File

@ -946,7 +946,8 @@ When using a variable-pitch font this also applies to stuff like code blocks. Th
(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-checkbox nil :inherit 'fixed-pitch)
(set-face-attribute 'org-table nil :inherit 'fixed-pitch))
(with-eval-after-load 'org
(unless (string-prefix-p "ef-" (format "%s" (car custom-enabled-themes)))