commit ec430cbb4fb24f3c4d7af77df16e9cda02559163
parent 86bac97580285f020621a94ee8649aee04867b08
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Mon, 13 Apr 2020 11:24:11 +0200
Update diff-hl integration with Magit
Cf. <https://github.com/dgutov/diff-hl/commit/a625033fb1dde83f6e4c2fc21f632b22ec34b609>.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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.