[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 64d3960 13/36: Added face for ignored files

From: Alexey Veretennikov
Subject: [elpa] master 64d3960 13/36: Added face for ignored files
Date: Wed, 27 Jan 2016 23:50:53 +0000

branch: master
commit 64d39608c4729fa9755a915ab5201458e1421137
Author: Alexey Veretennikov <address@hidden>
Commit: Alexey Veretennikov <address@hidden>

    Added face for ignored files
 ztree-diff.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ztree-diff.el b/ztree-diff.el
index c2ad76f..2bf9743 100644
--- a/ztree-diff.el
+++ b/ztree-diff.el
@@ -117,7 +117,7 @@ By default paths starting with dot (like .git) are ignored")
 (defun ztree-diff-node-face (node)
   "Return the face for the NODE depending on diff status."
   (let ((diff (ztree-diff-node-different node)))
-    (cond ((eq diff 'ignore) ztreep-diff-model-ignored-face)
+    (cond ((ztree-diff-node-ignore-p node) ztreep-diff-model-ignored-face)
           ((eq diff 'diff) ztreep-diff-model-diff-face)
           ((eq diff 'new)  ztreep-diff-model-add-face)
           (t ztreep-diff-model-normal-face))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]