From ec430cbb4fb24f3c4d7af77df16e9cda02559163 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 13 Apr 2020 11:24:11 +0200 Subject: Update diff-hl integration with Magit Cf. . --- .emacs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.emacs') diff --git a/.emacs b/.emacs index 6e7206b..19e04f8 100644 --- a/.emacs +++ b/.emacs @@ -194,7 +194,8 @@ (new-props '(face compilation-mode-line-run))) (setcar indicator (apply #'propertize "⚙" (append new-props old-props))))) -(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh t) +(add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh) +(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh) ;; Don't use Customize here, since that would set the variable's value ;; in stone, and I would miss out on future updates by Magit. -- cgit v1.2.3