From 9f0bf8ba9f6b5728d39279d32f8c74b63f9b2fb1 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 8 Feb 2024 09:47:59 +0100 Subject: [PATCH] Update Emacs configuration --- .emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 63dea80..6956fd9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1486,5 +1486,10 @@ as the initial input for completion, and return that directory." (when minibuffer-completion-table (minibuffer-hint-mode)))) +(with-eval-after-load 'magit + (with-eval-after-load 'diff-hl + (add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh) + (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))) + (provide 'init) ;;; init.el ends here -- 2.39.2