]> git.eshelyaron.com Git - dotfiles.git/commitdiff
Update Emacs configuration
authorEshel Yaron <me@eshelyaron.com>
Thu, 8 Feb 2024 08:47:59 +0000 (09:47 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 8 Feb 2024 08:48:41 +0000 (09:48 +0100)
.emacs.d/init.el

index 63dea80e2ce965c545ade84982b0a75dbf66b60a..6956fd9590635abac683e9577c9cc71e199efa66 100644 (file)
@@ -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