aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2012-09-30 14:12:04 -0700
committerPaul Eggert2012-09-30 14:12:04 -0700
commite7a2937b11bffc9ac24936e9f46201ce2abf38cc (patch)
tree93dcf60d3f9136ef291a68e76d793a5feb50f3d6 /etc
parentb9ab1b1f1c8f85fb624b9f170f4adf7f764d248b (diff)
downloademacs-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/ChangeLog5
-rw-r--r--etc/NEWS5
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 @@
12012-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
12012-09-30 Jan Djärv <jan.h.d@swipnet.se> 62012-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.
diff --git a/etc/NEWS b/etc/NEWS
index 2791a25e051..9a232fd0a5b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -807,6 +807,11 @@ The PSECS slot is new, and uses picosecond resolution. It can be
807accessed via the new timer--psecs accessor. 807accessed via the new timer--psecs accessor.
808 808
809+++ 809+++
810** file-attributes has a new optional argument FOLLOW-SYMLINKS
811that says whether to follow symbolic links. The default, as before,
812is 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,
811instead of signaling errors, if given invalid args, e.g. (log -1.0). 816instead of signaling errors, if given invalid args, e.g. (log -1.0).
812Previously, they returned NaNs on some platforms but signaled errors 817Previously, they returned NaNs on some platforms but signaled errors