X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=emacs.d%2Fconfig.org;h=c71f248ebdb9646914b711d2dbd46bf73d489813;hb=70e2f651c7c18ab0631648fa8ac4972248f63c6f;hp=2853c16fe22e5037c5c1628621ebfca034848ea6;hpb=dffc106005a38ce41358182ee68bd59f2a52d811;p=dotfiles.git diff --git a/emacs.d/config.org b/emacs.d/config.org index 2853c16..c71f248 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -1145,6 +1145,11 @@ extend org-mode's easy templates, refer to [[http://coldnew.github.io/coldnew-em (set-face-attribute face nil :inherit 'fixed-pitch)) (list 'org-code 'org-block 'org-block-background)) (set-face-attribute 'org-table nil :family "Ubuntu Mono" :height 140) + ;; org-special-keyword inherited from font-lock-keywork originally; as org is changed to variable-pitch, it cause + ;; the font in special-keywords are not monospace + (set-face-attribute 'org-special-keyword nil :inherit '(font-lock-keyword-face fixed-pitch)) + ;; same as above + (set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch)) ;; fix indent broken by variable-pitch-mode ;; http://emacs.stackexchange.com/questions/26864/variable-pitch-face-breaking-indentation-in-org-mode