[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a55c703 2/7: Fix #68
From: |
Dmitry Gutov |
Subject: |
[elpa] master a55c703 2/7: Fix #68 |
Date: |
Thu, 23 Jun 2016 01:18:25 +0000 (UTC) |
branch: master
commit a55c703c845c0d5956bfff4cd68c4bb91fc91bd2
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Fix #68
---
diff-hl-flydiff.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/diff-hl-flydiff.el b/diff-hl-flydiff.el
index 94dbbd7..7f0c6c7 100644
--- a/diff-hl-flydiff.el
+++ b/diff-hl-flydiff.el
@@ -39,7 +39,7 @@
:type 'number)
(defvar diff-hl-flydiff-modified-tick 0)
-(defvar diff-hl-flydiff-timer)
+(defvar diff-hl-flydiff-timer nil)
(make-variable-buffer-local 'diff-hl-flydiff-modified-tick)
(defun diff-hl-flydiff/vc-git--symbolic-ref (file)
@@ -167,6 +167,7 @@ This requires the external program `diff' to be in your
`exec-path'."
(advice-remove 'diff-hl-modified-p #'diff-hl-flydiff/modified-p)
(advice-remove 'diff-hl-changes-buffer #'diff-hl-flydiff-buffer-with-head)
- (cancel-timer diff-hl-flydiff-timer)))
+ (and diff-hl-flydiff-timer
+ (cancel-timer diff-hl-flydiff-timer))))
(provide 'diff-hl-flydiff)
- [elpa] master updated (04f3d4b -> 16db967), Dmitry Gutov, 2016/06/22
- [elpa] master e933675 6/7: Bump the version, Dmitry Gutov, 2016/06/22
- [elpa] master a55c703 2/7: Fix #68,
Dmitry Gutov <=
- [elpa] master be82976 1/7: Bind vc-git-diff-switches, Dmitry Gutov, 2016/06/22
- [elpa] master 16db967 7/7: Merge commit 'e93367512080e540dc5dd126dfcb38b4a5e9415b' from diff-hl, Dmitry Gutov, 2016/06/22
- [elpa] master 4bfa149 3/7: Allow using --patience through vc-git-diff-switches, Dmitry Gutov, 2016/06/22
- [elpa] master 4ad3ca9 4/7: don't assume vc-git-diff-switches is defined, Dmitry Gutov, 2016/06/22
- [elpa] master 4925dde 5/7: Merge pull request #70 from jpkotta/master, Dmitry Gutov, 2016/06/22