summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs3
1 files changed, 2 insertions, 1 deletions
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.