From: Dmitry Gutov Date: Wed, 17 Dec 2014 04:34:11 +0000 (+0200) Subject: * lisp/vc/vc.el: Improve `dir-status-files' description X-Git-Tag: emacs-25.0.90~2635^2~53 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=863cf6241d49278e5244f918912f442a8c744b12;p=emacs.git * lisp/vc/vc.el: Improve `dir-status-files' description --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 035f476aa80..39f09f46c09 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2014-12-17 Dmitry Gutov + * 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 954b3cfeb02..6283dc8d782 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.