branch: master
commit 63f1687aafb4449761bb19f3f5f1b677ab1b5d91
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
diff-hl-dired-update: Handle up-to-date entries properly
---
diff-hl-dired.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/diff-hl-dired.el b/diff-hl-dired.el
index e9cb182..947c2b6 100644
--- a/diff-hl-dired.el
+++ b/diff-hl-dired.el
@@ -1,6 +1,6 @@
;;; diff-hl-dired.el --- Highlight changed files in Dired -*- lexical-binding:
t -*-
-;; Copyright (C) 2012-2015 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2017 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
@@ -124,7 +124,7 @@ status indicators."
(value (cdr (assoc dir dirs-alist))))
(unless (eq value type)
(cond
- ((eq type 'up-to-date))
+ ((eq state 'up-to-date))
((null value)
(push (cons dir type) dirs-alist))
((not (eq type 'ignored))