[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 58615cd 10/22: auto-revert-mode integration
From: |
Dmitry Gutov |
Subject: |
[elpa] master 58615cd 10/22: auto-revert-mode integration |
Date: |
Fri, 02 Jan 2015 23:46:29 +0000 |
branch: master
commit 58615cdaab280685cc1541708166ec9b570a63ee
Author: Sune Simonsen <address@hidden>
Commit: Sune Simonsen <address@hidden>
auto-revert-mode integration
Update diff-hl when auto-revert-mode-hook is called.
---
diff-hl.el | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/diff-hl.el b/diff-hl.el
index b78c939..8f675a3 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -449,6 +449,7 @@ in the source file, or the last line of the hunk above it."
;; doesn't care about changed VC state.
;; https://github.com/magit/magit/issues/603
(add-hook 'magit-revert-buffer-hook 'diff-hl-update nil t)
+ (add-hook 'auto-revert-mode-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)
@@ -456,6 +457,7 @@ in the source file, or the last line of the hunk above it."
(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 'auto-revert-mode-hook 'diff-hl-update t)
(remove-hook 'text-scale-mode-hook 'diff-hl-define-bitmaps t)
(diff-hl-remove-overlays)))
- [elpa] master updated (c9c9f55 -> 8cec226), Dmitry Gutov, 2015/01/02
- [elpa] master c246d44 02/22: diff-hl-define-bitmaps: Handle text scaling and line spacing better, Dmitry Gutov, 2015/01/02
- [elpa] master ecc7fc3 03/22: diff-hl-fringe-bmp-from-type: Use `exclamation-mark', Dmitry Gutov, 2015/01/02
- [elpa] master 03531f2 04/22: Add and use fringe faces specific to diff-hl-dired, Dmitry Gutov, 2015/01/02
- [elpa] master a6f3b89 05/22: diff-hl-dired: Highlight ignored files, Dmitry Gutov, 2015/01/02
- [elpa] master 27b3adb 06/22: Check if the original Dired buffer is still alive, Dmitry Gutov, 2015/01/02
- [elpa] master 50e88c2 07/22: Work around debbugs.gnu.org/18605, Dmitry Gutov, 2015/01/02
- [elpa] master 7466986 08/22: Update copyright year, Dmitry Gutov, 2015/01/02
- [elpa] master f2546ca 09/22: diff-hl-changes: Handle diffs where only file mode changed, Dmitry Gutov, 2015/01/02
- [elpa] master 58615cd 10/22: auto-revert-mode integration,
Dmitry Gutov <=
- [elpa] master 8dd7d96 12/22: Don't error out when fringe is disabled, Dmitry Gutov, 2015/01/02
- [elpa] master ccaca25 11/22: Merge pull request #30 from sunesimonsen/master, Dmitry Gutov, 2015/01/02
- [elpa] master 9c5004e 13/22: diff-hl-dired-{unknown, ignored}: inherit from dired-ignored instead, Dmitry Gutov, 2015/01/02
- [elpa] master 32951f0 01/22: Add link to an issue, Dmitry Gutov, 2015/01/02
- [elpa] master 788f1fd 14/22: diff-hl-dired-update-ignores: Specifically exclude .hg from iteration, Dmitry Gutov, 2015/01/02
- [elpa] master 469e332 15/22: Add user option `diff-hl-dired-extra-indicators', Dmitry Gutov, 2015/01/02
- [elpa] master bfe57a1 16/22: Use "i" for ignored files, Dmitry Gutov, 2015/01/02
- [elpa] master b4d6dc3 18/22: Introduce diff-hl-dired-mode-unless-remote, Dmitry Gutov, 2015/01/02
- [elpa] master c029ae8 17/22: diff-hl-dired: Always use dir-status-files, Dmitry Gutov, 2015/01/02
- [elpa] master c1351b0 19/22: Collect files only when diff-hl-dired-extra-indicators is non-nil, Dmitry Gutov, 2015/01/02