[Top][All Lists]

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

[elpa] master 38a83db 01/42: Add documentation for diff-hl-dired-status-

From: Dmitry Gutov
Subject: [elpa] master 38a83db 01/42: Add documentation for diff-hl-dired-status-files.
Date: Wed, 09 Sep 2015 19:03:23 +0000

branch: master
commit 38a83dbae60bf7508e829c53db0a7f934a408cb9
Author: Jesse Johnson <address@hidden>
Commit: Jesse Johnson <address@hidden>

    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]