ui/vc-gutter: remove redundant after-save hook

git-gutter already adds one to after-save-hook.
This commit is contained in:
Henrik Lissner 2019-03-13 19:20:07 -04:00
parent 1ce2b29193
commit 1e1f725a55
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -40,7 +40,7 @@ to the right fringe.")
(setq-local git-gutter:clear-function #'git-gutter:clear-diff-infos)
(setq-local git-gutter:window-width 1))
(git-gutter-mode +1)))
(add-hook! (text-mode prog-mode conf-mode after-save)
(add-hook! (text-mode prog-mode conf-mode)
#'+version-control|git-gutter-maybe)
;; standardize default fringe width
(if (fboundp 'fringe-mode) (fringe-mode '4))