[Top][All Lists]

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

[elpa] master d188525 02/42: Merge pull request #37 from holocronweaver/

From: Dmitry Gutov
Subject: [elpa] master d188525 02/42: Merge pull request #37 from holocronweaver/documentation
Date: Wed, 09 Sep 2015 19:03:24 +0000

branch: master
commit d18852545a3aa236d7dd73b8e9f8bac0e4ec2d48
Merge: 6ea154f 38a83db
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Merge pull request #37 from holocronweaver/documentation
    Add documentation for diff-hl-dired-status-files.
 diff-hl-dired.el |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/diff-hl-dired.el b/diff-hl-dired.el
index 09cf851..efb4b83 100644
--- a/diff-hl-dired.el
+++ b/diff-hl-dired.el
@@ -126,10 +126,12 @@
                   (append dirs-alist files-alist))))))
-(defun diff-hl-dired-status-files (backend dir files uf)
+(defun diff-hl-dired-status-files (backend dir files update-function)
+   "Using version control BACKEND, return list of (FILE STATE EXTRA) entries
+for DIR containing FILES. Call UPDATE-FUNCTION as entries are added."
   (if (version< "25" emacs-version)
-      (vc-call-backend backend 'dir-status-files dir files uf)
-    (vc-call-backend backend 'dir-status-files dir files nil uf)))
+      (vc-call-backend backend 'dir-status-files dir files update-function)
+    (vc-call-backend backend 'dir-status-files dir files nil update-function)))
 (when (version< emacs-version "")
   ;; Work around http://debbugs.gnu.org/19386

reply via email to

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