Fix void-function diff-hl-magit-post-refresh error

This commit is contained in:
Henrik Lissner 2019-09-02 12:42:02 -04:00
parent f763bf2fd0
commit 07dfe2703c
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -47,9 +47,7 @@
(use-package! diff-hl
:hook (dired-mode . diff-hl-dired-mode)
:init
(when (featurep! :tools magit)
(add-hook 'magit-post-refresh-hook #'diff-hl-magit-post-refresh))
:hook (magit-post-refresh . diff-hl-magit-post-refresh)
:config
;; use margin instead of fringe
(diff-hl-margin-mode))