From 7880b466507e2f3e5bd2738752d59468d31417d1 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 27 Jul 2021 21:05:29 +0200 Subject: [PATCH] Fix magit preocess colors. --- init.d/programming/git.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.d/programming/git.el b/init.d/programming/git.el index c277ad1..592e8f5 100644 --- a/init.d/programming/git.el +++ b/init.d/programming/git.el @@ -18,9 +18,11 @@ (use-package magit :unless slow-computer :after (eldoc) - :custom ((magit-diff-refine-hunk 'all) - (magit-process-finish-apply-ansi-colors t)) + :custom ((magit-diff-refine-hunk 'all)) :config (progn + ;; Didn't work in :custom. + (setq magit-process-finish-apply-ansi-colors t) + ;; https://tsdh.org/posts/2021-06-21-using-eldoc-with-magit.html (defun my/magit-eldoc-for-commit () (let ((commit (magit-commit-at-point)))