Browse Source

emacs: don't use variable-pitch-mode anymore

master
Alison Watson 1 year ago
parent
commit
15765bbedc
2 changed files with 1 additions and 17 deletions
  1. +0
    -3
      emacs/early-init.el
  2. +1
    -14
      emacs/init.el

+ 0
- 3
emacs/early-init.el View File

@@ -29,9 +29,6 @@
(set-face-attribute 'default nil :family "Courier Prime Code"
: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 'mode-line)



+ 1
- 14
emacs/init.el View File

@@ -131,8 +131,7 @@

;; org-mode
(use-package org
:hook ((org-mode . variable-pitch-mode)
(org-mode . flyspell-mode)
:hook ((org-mode . flyspell-mode)
(org-mode . agw-org-mode))
:init
(setq org-fontify-whole-heading-line t
@@ -153,18 +152,6 @@
(file . find-file)
(wl . wl)))
: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
'org-document-title nil
:foreground "#aa573c"


Loading…
Cancel
Save