diff options
| author | Paul Eggert | 2012-09-30 14:12:04 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-30 14:12:04 -0700 |
| commit | e7a2937b11bffc9ac24936e9f46201ce2abf38cc (patch) | |
| tree | 93dcf60d3f9136ef291a68e76d793a5feb50f3d6 /etc | |
| parent | b9ab1b1f1c8f85fb624b9f170f4adf7f764d248b (diff) | |
| download | emacs-e7a2937b11bffc9ac24936e9f46201ce2abf38cc.tar.gz emacs-e7a2937b11bffc9ac24936e9f46201ce2abf38cc.zip | |
file-attributes has a new optional arg FOLLOW-SYMLINKS.
* doc/lispref/files.texi (File Attributes): Describe it.
(Magic File Names): Use it.
* etc/NEWS: Document the change.
* lisp/files.el (remote-file-name-inhibit-cache):
* lisp/time.el (display-time-file-nonempty-p): Use it.
* lisp/files.el (after-find-file): Don't chase links before calling
file-exists-p, as file-exists-p already does the right thing.
* src/dired.c (directory_files_internal, Ffile_attributes):
New arg follow_symlinks. All uses changed.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 5 | ||||
| -rw-r--r-- | etc/NEWS | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 099d7ca044f..0cd21f53a41 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-09-30 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | file-attributes has a new optional arg FOLLOW-SYMLINKS. | ||
| 4 | * NEWS: Document the change. | ||
| 5 | |||
| 1 | 2012-09-30 Jan Djärv <jan.h.d@swipnet.se> | 6 | 2012-09-30 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 7 | ||
| 3 | * NEWS: The NS port supports fullscreen. | 8 | * NEWS: The NS port supports fullscreen. |
| @@ -807,6 +807,11 @@ The PSECS slot is new, and uses picosecond resolution. It can be | |||
| 807 | accessed via the new timer--psecs accessor. | 807 | accessed via the new timer--psecs accessor. |
| 808 | 808 | ||
| 809 | +++ | 809 | +++ |
| 810 | ** file-attributes has a new optional argument FOLLOW-SYMLINKS | ||
| 811 | that says whether to follow symbolic links. The default, as before, | ||
| 812 | is to not follow symlinks. | ||
| 813 | |||
| 814 | +++ | ||
| 810 | ** Floating point functions now always return special values like NaN, | 815 | ** Floating point functions now always return special values like NaN, |
| 811 | instead of signaling errors, if given invalid args, e.g. (log -1.0). | 816 | instead of signaling errors, if given invalid args, e.g. (log -1.0). |
| 812 | Previously, they returned NaNs on some platforms but signaled errors | 817 | Previously, they returned NaNs on some platforms but signaled errors |