]> git.eshelyaron.com Git - emacs.git/commit
Fix some glitches in recent directory-files-* changes
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 2 Nov 2020 16:56:06 +0000 (17:56 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 2 Nov 2020 16:56:06 +0000 (17:56 +0100)
commite654b41c6f9eae424736bc8845d92b9dd97ccd3e
tree53c7d09c4e5efd8f281888bc13527844a5933136
parent554495006e8d33a06c5df63fd8767c1124e1ed9e
Fix some glitches in recent directory-files-* changes

* doc/lispref/files.texi (Contents of Directories):
Fix description of directory-files, directory-empty-p and
directory-files-and-attributes.

* etc/NEWS: Fix entry for directory-files-and-attributes.  Fix typos.

* lisp/dired.el (directory-empty-p): Move function from here ...

* lisp/files.el (directory-empty-p): ... to here.

* lisp/net/ange-ftp.el (ange-ftp-directory-files): Call `nreverse' later.

* lisp/net/tramp.el (tramp-handle-directory-files):
* lisp/net/tramp-adb.el
(tramp-adb-handle-directory-files-and-attributes): Do not call
`nreverse'.

* src/dired.c (Fdirectory_files)
(Fdirectory_files_and_attributes): Fix docstrings.

* test/src/dired-tests.el: Removed.  Tests moved to
test/lisp/dired-tests.el.

* test/lisp/dired-tests.el (dired-test-bug27899): Tag it :unstable.
(dired-test-directory-files)
(dired-test-directory-files-and-attributes): New tests.
12 files changed:
doc/lispref/files.texi
etc/NEWS
lisp/dired.el
lisp/files.el
lisp/net/ange-ftp.el
lisp/net/tramp-adb.el
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el
lisp/net/tramp.el
src/dired.c
test/lisp/dired-tests.el
test/src/dired-tests.el [deleted file]