From e13c4fb1d8303affa0f64e5a5ba06e9b3b03d475 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 26 Jun 2023 16:34:45 +1000 Subject: let's try again --- emacs/.emacs.d/init/ycp-vc.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'emacs/.emacs.d/init') 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 -- cgit v1.2.3