org-mode face change
authorPeng Li <seudut@gmail.com>
Wed, 17 May 2017 06:55:58 +0000 (14:55 +0800)
committerPeng Li <seudut@gmail.com>
Wed, 17 May 2017 06:55:58 +0000 (14:55 +0800)
emacs.d/config.org

index e75f209..dc0f9c6 100644 (file)
@@ -1140,7 +1140,7 @@ extend org-mode's easy templates, refer to [[http://coldnew.github.io/coldnew-em
   (with-eval-after-load "org"
     (mapc (lambda (face)
             (set-face-attribute face nil :inherit 'fixed-pitch))
-          (list 'org-code 'org-block 'org-block-background))
+          (list 'org-code 'org-block 'org-block-background 'org-block-begin-line 'org-block-end-line))
     (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