projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1629b3a
)
emacs - fix issue org-verbatim is not monospace as variable-pitch-mode enabled
author
Peng Li
<seudut@gmail.com>
Fri, 11 Nov 2016 08:56:28 +0000
(16:56 +0800)
committer
Peng Li
<seudut@gmail.com>
Fri, 11 Nov 2016 08:56:28 +0000
(16:56 +0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
9f86ad9
..
c71f248
100644
(file)
--- a/
emacs.d/config.org
+++ b/
emacs.d/config.org
@@
-1145,7
+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)
(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))
(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
;; fix indent broken by variable-pitch-mode
;; http://emacs.stackexchange.com/questions/26864/variable-pitch-face-breaking-indentation-in-org-mode