[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

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-verbatim nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face 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-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 (with-eval-after-load 'org
(unless (string-prefix-p "ef-" (format "%s" (car custom-enabled-themes))) (unless (string-prefix-p "ef-" (format "%s" (car custom-enabled-themes)))