Use the fixed pitch face in magit-diff-mode buffers

This commit is contained in:
Gerard Vermeulen 2022-07-13 05:20:01 +02:00
parent 24ac7c01d4
commit 465069ff2e

View File

@ -420,6 +420,7 @@ show a few tweaks to improve visibility without theming:
(setq buffer-face-mode-face 'fixed-pitch)
(buffer-face-mode))
(add-hook 'magit-diff-mode-hook #'set-buffer-fixed-pitch-face)
(add-hook 'prog-mode-hook #'set-buffer-fixed-pitch-face)
#+end_src