From: Eshel Yaron Date: Thu, 8 Feb 2024 08:47:59 +0000 (+0100) Subject: Update Emacs configuration X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9f0bf8ba9f6b5728d39279d32f8c74b63f9b2fb1;p=dotfiles.git Update Emacs configuration --- 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