diff options
| author | Lars Magne Ingebrigtsen | 2014-12-13 16:10:04 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2014-12-13 16:10:04 +0100 |
| commit | 987d2f9421bc854893673c234c02479583476785 (patch) | |
| tree | 8f91c1cbcc12063376f2b572bf103e71cc2794df /etc | |
| parent | 3e8e9713565c3cfacc33763e789514d5960c59e2 (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS | 5 |
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 @@ | |||
| 1 | 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * NEWS: Mention directory-name-p. | ||
| 4 | |||
| 1 | 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org> | 5 | 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 6 | ||
| 3 | * NEWS: Mention directory-files-recursively. | 7 | * NEWS: Mention directory-files-recursively. |
| @@ -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 |
| 141 | files (recursively) under a directory. | 141 | files (recursively) under a directory. |
| 142 | 142 | ||
| 143 | ** The new `directory-name-p' can be used to check whether a file | ||
| 144 | name (as returned from, for instance, `file-name-all-completions' is | ||
| 145 | a directory file name. It returns non-nil if the last character in | ||
| 146 | the name is a forward slash. | ||
| 147 | |||
| 143 | 148 | ||
| 144 | * Editing Changes in Emacs 25.1 | 149 | * Editing Changes in Emacs 25.1 |
| 145 | 150 | ||