emacs: don't use variable-pitch-mode anymore
parent
9c828bf3d1
commit
15765bbedc
|
@ -29,9 +29,6 @@
|
||||||
(set-face-attribute 'default nil :family "Courier Prime Code"
|
(set-face-attribute 'default nil :family "Courier Prime Code"
|
||||||
:height 120 :weight 'normal :width 'normal)
|
:height 120 :weight 'normal :width 'normal)
|
||||||
|
|
||||||
(set-face-attribute 'variable-pitch nil :family "Source Sans Pro"
|
|
||||||
:height 120 :weight 'normal :width 'normal)
|
|
||||||
|
|
||||||
(copy-face 'default 'fixed-pitch)
|
(copy-face 'default 'fixed-pitch)
|
||||||
(copy-face 'default 'mode-line)
|
(copy-face 'default 'mode-line)
|
||||||
|
|
||||||
|
|
|
@ -131,8 +131,7 @@
|
||||||
|
|
||||||
;; org-mode
|
;; org-mode
|
||||||
(use-package org
|
(use-package org
|
||||||
:hook ((org-mode . variable-pitch-mode)
|
:hook ((org-mode . flyspell-mode)
|
||||||
(org-mode . flyspell-mode)
|
|
||||||
(org-mode . agw-org-mode))
|
(org-mode . agw-org-mode))
|
||||||
:init
|
:init
|
||||||
(setq org-fontify-whole-heading-line t
|
(setq org-fontify-whole-heading-line t
|
||||||
|
@ -153,18 +152,6 @@
|
||||||
(file . find-file)
|
(file . find-file)
|
||||||
(wl . wl)))
|
(wl . wl)))
|
||||||
:config
|
:config
|
||||||
(dolist (face '(org-block
|
|
||||||
org-block-begin-line
|
|
||||||
org-block-end-line
|
|
||||||
org-checkbox
|
|
||||||
org-code
|
|
||||||
org-date
|
|
||||||
org-document-info-keyword
|
|
||||||
org-table
|
|
||||||
org-verbatim
|
|
||||||
org-special-keyword
|
|
||||||
org-drawer))
|
|
||||||
(set-face-attribute face nil :inherit 'fixed-pitch))
|
|
||||||
(set-face-attribute
|
(set-face-attribute
|
||||||
'org-document-title nil
|
'org-document-title nil
|
||||||
:foreground "#aa573c"
|
:foreground "#aa573c"
|
||||||
|
|
Loading…
Reference in New Issue