aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-vc.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init/ycp-vc.el')
-rw-r--r--emacs/.emacs.d/init/ycp-vc.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/emacs/.emacs.d/init/ycp-vc.el b/emacs/.emacs.d/init/ycp-vc.el
index 232639e..251714d 100644
--- a/emacs/.emacs.d/init/ycp-vc.el
+++ b/emacs/.emacs.d/init/ycp-vc.el
@@ -76,10 +76,9 @@
(:delay 30)
(setq git-commit-summary-max-length 50)
(setq git-commit-style-convention-checks '(non-empty-second-line))
- ;; Revert all buffers in the project after a commit, to refresh
- ;; diff-hl
- (require 'my-project)
- (add-hook 'git-commit-post-finish-hook #'my-project-revert-all-buffers)
+ ;; Refresh all buffers in the project after a commit for diff-hl
+ (require 'my-diff-hl)
+ (add-hook 'git-commit-post-finish-hook #'my-project-diff-hl-update)
)
(my-package magit