diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.config/emacs-kj/init.el | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el index c4a0f5c..3b0c095 100644 --- a/emacs/.config/emacs-kj/init.el +++ b/emacs/.config/emacs-kj/init.el @@ -366,21 +366,6 @@ (set-face-attribute 'fixed-pitch nil :font "Iosevka" :height 150) (set-face-attribute 'variable-pitch nil :font "Iosevka Etoile")) -(defun kj/set-fixed-pitch () - (interactive) - (setq buffer-face-mode-face 'fixed-pitch) - (buffer-face-mode +1)) - -(defun kj/org-pitch () - (interactive) - (kj/set-fixed-pitch) - (mixed-pitch-mode +1)) - -(add-hook 'org-mode-hook #'kj/org-pitch) -(dolist (hook '(compilation-mode-hook eshell-mode-hook rustic-cargo-test-mode-hook - ledger-mode-hook calendar-mode-hook)) - (add-hook hook #'kj/set-fixed-pitch)) - (use-package ob-async) (use-package direnv |