diff options
| author | Dan Nicolaescu | 2008-08-25 15:14:52 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-08-25 15:14:52 +0000 |
| commit | 9c6c6d1fede2bb783c6bdf8b6f0e9c301e10839d (patch) | |
| tree | a33d642ebbdd1f2aa9d2e6b8543b6bc02c523159 | |
| parent | 0d80bf29197cf4d954276602f65281617877fb0f (diff) | |
| download | emacs-9c6c6d1fede2bb783c6bdf8b6f0e9c301e10839d.tar.gz emacs-9c6c6d1fede2bb783c6bdf8b6f0e9c301e10839d.zip | |
(vc-dir-marked-only-files-and-states):
(vc-dir-child-files-and-states): Reverse the list before returning it.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc-dir.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e0078c15944..b033bd11c9e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-08-25 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * vc-dir.el (vc-dir-marked-only-files-and-states): | ||
| 4 | (vc-dir-child-files-and-states): Reverse the list before returning it. | ||
| 5 | |||
| 1 | 2008-08-24 Michael Albinus <michael.albinus@gmx.de> | 6 | 2008-08-24 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * net/dbus.el (dbus-introspect): Use `dbus-call-method-non-blocking'. | 8 | * net/dbus.el (dbus-introspect): Use `dbus-call-method-non-blocking'. |
diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el index bd998fbac3f..87c0ce3ef90 100644 --- a/lisp/vc-dir.el +++ b/lisp/vc-dir.el | |||
| @@ -777,7 +777,7 @@ child files." | |||
| 777 | result) | 777 | result) |
| 778 | (setq crt (ewoc-next vc-ewoc crt))) | 778 | (setq crt (ewoc-next vc-ewoc crt))) |
| 779 | (setq crt (ewoc-next vc-ewoc crt))))) | 779 | (setq crt (ewoc-next vc-ewoc crt))))) |
| 780 | result)) | 780 | (nreverse result))) |
| 781 | 781 | ||
| 782 | (defun vc-dir-child-files-and-states () | 782 | (defun vc-dir-child-files-and-states () |
| 783 | "Return the list of conses (FILE . STATE) for child files of the current entry if it's a directory. | 783 | "Return the list of conses (FILE . STATE) for child files of the current entry if it's a directory. |
| @@ -802,7 +802,7 @@ If it is a file, return the corresponding cons for the file itself." | |||
| 802 | (push | 802 | (push |
| 803 | (cons (expand-file-name (vc-dir-fileinfo->name crt-data)) | 803 | (cons (expand-file-name (vc-dir-fileinfo->name crt-data)) |
| 804 | (vc-dir-fileinfo->state crt-data)) result)) | 804 | (vc-dir-fileinfo->state crt-data)) result)) |
| 805 | result)) | 805 | (nreverse result))) |
| 806 | 806 | ||
| 807 | (defun vc-dir-recompute-file-state (fname def-dir) | 807 | (defun vc-dir-recompute-file-state (fname def-dir) |
| 808 | (let* ((file-short (file-relative-name fname def-dir)) | 808 | (let* ((file-short (file-relative-name fname def-dir)) |