[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 863cf62: * lisp/vc/vc.el: Improve `dir-status-files
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] master 863cf62: * lisp/vc/vc.el: Improve `dir-status-files' description |
Date: |
Wed, 17 Dec 2014 04:34:29 +0000 |
branch: master
commit 863cf6241d49278e5244f918912f442a8c744b12
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
* lisp/vc/vc.el: Improve `dir-status-files' description
---
lisp/ChangeLog | 2 ++
lisp/vc/vc.el | 9 ++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 035f476..39f09f4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2014-12-17 Dmitry Gutov <address@hidden>
+ * vc/vc.el: Improve `dir-status-files' description.
+
* emacs-lisp/package.el (package--list-loaded-files): Don't call
file-truename on load-history elements (bug#19390).
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index 954b3cf..6283dc8 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -133,10 +133,13 @@
;; - dir-status-files (dir files update-function)
;;
;; Produce RESULT: a list of lists of the form (FILE VC-STATE EXTRA)
-;; for FILES in DIR. If FILES is nil. report on all files in DIR.
+;; for FILES in DIR. If FILES is nil, report on all files in DIR.
;; (It is OK, though possibly inefficient, to ignore the FILES argument
;; and always report on all files in DIR.)
;;
+;; If FILES is non-nil, this function should report on all requested
+;; files, including up-to-date or ignored files.
+;;
;; EXTRA can be used for backend specific information about FILE.
;; If a command needs to be run to compute this list, it should be
;; run asynchronously using (current-buffer) as the buffer for the
@@ -153,10 +156,6 @@
;; the following functions might be needed: `dir-extra-headers',
;; `dir-printer', and `extra-dir-menu'.
;;
-;; This function should report on all requested files, including
-;; up-to-date or ignored files. If it is not provided, the default is to
-;; consider that all files are in 'up-to-date state.
-;;
;; - dir-extra-headers (dir)
;;
;; Return a string that will be added to the *vc-dir* buffer header.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 863cf62: * lisp/vc/vc.el: Improve `dir-status-files' description,
Dmitry Gutov <=