(vc-dir-child-files-and-states): Reverse the list before returning it.
+2008-08-25 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc-dir.el (vc-dir-marked-only-files-and-states):
+ (vc-dir-child-files-and-states): Reverse the list before returning it.
+
2008-08-24 Michael Albinus <michael.albinus@gmx.de>
* net/dbus.el (dbus-introspect): Use `dbus-call-method-non-blocking'.
result)
(setq crt (ewoc-next vc-ewoc crt)))
(setq crt (ewoc-next vc-ewoc crt)))))
- result))
+ (nreverse result)))
(defun vc-dir-child-files-and-states ()
"Return the list of conses (FILE . STATE) for child files of the current entry if it's a directory.
(push
(cons (expand-file-name (vc-dir-fileinfo->name crt-data))
(vc-dir-fileinfo->state crt-data)) result))
- result))
+ (nreverse result)))
(defun vc-dir-recompute-file-state (fname def-dir)
(let* ((file-short (file-relative-name fname def-dir))