[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 01/07: Use magit-revert-buffer-hook
From: |
Dmitry Gutov |
Subject: |
[elpa] 01/07: Use magit-revert-buffer-hook |
Date: |
Sun, 10 Aug 2014 16:33:00 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit a311beb2c9f4c8539a5ae14fbee1376620f5380b
Author: Dmitry Gutov <address@hidden>
Date: Wed Apr 16 16:24:01 2014 +0400
Use magit-revert-buffer-hook
Closes #19
References magit/magit#603
---
diff-hl.el | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/diff-hl.el b/diff-hl.el
index 4b25fc7..450ee9b 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -429,12 +429,14 @@ in the source file, or the last line of the hunk above
it."
(add-hook 'find-file-hook 'diff-hl-update t t))
(add-hook 'vc-checkin-hook 'diff-hl-update nil t)
(add-hook 'after-revert-hook 'diff-hl-update nil t)
+ (add-hook 'magit-revert-buffer-hook 'diff-hl-update nil t)
(add-hook 'text-scale-mode-hook 'diff-hl-define-bitmaps nil t))
(remove-hook 'after-save-hook 'diff-hl-update t)
(remove-hook 'after-change-functions 'diff-hl-edit t)
(remove-hook 'find-file-hook 'diff-hl-update t)
(remove-hook 'vc-checkin-hook 'diff-hl-update t)
(remove-hook 'after-revert-hook 'diff-hl-update t)
+ (remove-hook 'magit-revert-buffer-hook 'diff-hl-update t)
(remove-hook 'text-scale-mode-hook 'diff-hl-define-bitmaps t)
(diff-hl-remove-overlays)))
- [elpa] branch master updated (4834a3f -> 41ef088), Dmitry Gutov, 2014/08/10
- [elpa] 01/07: Use magit-revert-buffer-hook,
Dmitry Gutov <=
- [elpa] 03/07: require 'fringe, Dmitry Gutov, 2014/08/10
- [elpa] 05/07: diff-hl-margin-mode: use buffer-local minor mode, Dmitry Gutov, 2014/08/10
- [elpa] 06/07: Bump the version, Dmitry Gutov, 2014/08/10
- [elpa] 07/07: Merge commit '3f49d2b3934e69d11410d08f1be8e0011237c11c' from diff-hl, Dmitry Gutov, 2014/08/10
- [elpa] 02/07: Some README updates, Dmitry Gutov, 2014/08/10
- [elpa] 04/07: diff-hl-mode: defer diff-hl-update until diff-hl-mode-on-hook, Dmitry Gutov, 2014/08/10