aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2014-12-13 16:10:04 +0100
committerLars Magne Ingebrigtsen2014-12-13 16:10:04 +0100
commit987d2f9421bc854893673c234c02479583476785 (patch)
tree8f91c1cbcc12063376f2b572bf103e71cc2794df /etc
parent3e8e9713565c3cfacc33763e789514d5960c59e2 (diff)
downloademacs-987d2f9421bc854893673c234c02479583476785.tar.gz
emacs-987d2f9421bc854893673c234c02479583476785.zip
Implement a new function `directory-name-p'
* doc/lispref/files.texi (Relative File Names): Mention `directory-name-p'. * etc/NEWS: Mention directory-name-p. (directory-name-p): New function. (directory-files-recursively): Use it.
Diffstat (limited to 'etc')
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/NEWS5
2 files changed, 9 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index f56fb4ea683..5e02fced672 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
12014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * NEWS: Mention directory-name-p.
4
12014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org> 52014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 6
3 * NEWS: Mention directory-files-recursively. 7 * NEWS: Mention directory-files-recursively.
diff --git a/etc/NEWS b/etc/NEWS
index 58a5836a1c0..58e4b0e2cf1 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -140,6 +140,11 @@ library function `ftw'.
140** A new function `directory-files-recursively' returns all matching 140** A new function `directory-files-recursively' returns all matching
141files (recursively) under a directory. 141files (recursively) under a directory.
142 142
143** The new `directory-name-p' can be used to check whether a file
144name (as returned from, for instance, `file-name-all-completions' is
145a directory file name. It returns non-nil if the last character in
146the name is a forward slash.
147
143 148
144* Editing Changes in Emacs 25.1 149* Editing Changes in Emacs 25.1
145 150