summaryrefslogtreecommitdiff
path: root/doc/lispref/files.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-04-28 12:50:39 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-04-28 12:54:06 -0700
commit083d2708f9ec7f09712488a99fc9eedd3d594ff6 (patch)
tree14567fa0ff505ea08a42b5710d0fabd47ff59d03 /doc/lispref/files.texi
parenta41a181db5f3aca043ed42b228dc56a6403c21a5 (diff)
downloademacs-083d2708f9ec7f09712488a99fc9eedd3d594ff6.tar.gz
emacs-083d2708f9ec7f09712488a99fc9eedd3d594ff6.tar.bz2
emacs-083d2708f9ec7f09712488a99fc9eedd3d594ff6.zip
Change current-time back to list form
Change current-time and related functions back to using the traditional list form. Also, add a new boolean variable current-time-list that lets people try out (TICKS . HZ) form, with the goal of smoothing the transition. * src/timefns.c (CURRENT_TIME_LIST): Change default back to true. (current-time-list): New boolean Lisp variable, which defaults to CURRENT_TIME_LIST. All uses of CURRENT_TIME_LIST changed to use current_time_list, and all documentation changed.
Diffstat (limited to 'doc/lispref/files.texi')
-rw-r--r--doc/lispref/files.texi24
1 files changed, 15 insertions, 9 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 4394f64a320..75905658e64 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -1423,9 +1423,9 @@ For example, here are the file attributes for @file{files.texi}:
@group
(file-attributes "files.texi" 'string)
@result{} (nil 1 "lh" "users"
- (1351023123050040152 . 1000000000)
- (1310720023000000000 . 1000000000)
- (1351023659902289872 . 1000000000)
+ (20614 64019 50040 152000)
+ (20000 23 0 0)
+ (20614 64555 902289 872000)
122295 "-rw-rw-rw-"
t 6473924464520138
1014478468)
@@ -1449,14 +1449,20 @@ is owned by the user with name @samp{lh}.
@item "users"
is in the group with name @samp{users}.
-@item (1351023123050040152 . 1000000000)
-was last accessed on October 23, 2012, at 20:12:03.050040152 UTC.
+@item (20614 64019 50040 152000)
+was last accessed on October 23, 2012, at 20:12:03.050040152 UTC@.
+(This timestamp is @code{(1351023123050040152 . 1000000000)}
+if @code{current-time-list} is @code{nil}.)
-@item (1310720023000000000 . 1000000000)
-was last modified on July 15, 2001, at 08:53:43.000000000 UTC.
+@item (20000 23 0 0)
+was last modified on July 15, 2001, at 08:53:43.000000000 UTC@.
+(This timestamp is @code{(1310720023000000000 . 1000000000)}
+if @code{current-time-list} is @code{nil}.)
-@item (1351023659902289872 . 1000000000)
-last had its status changed on October 23, 2012, at 20:20:59.902289872 UTC.
+@item (20614 64555 902289 872000)
+last had its status changed on October 23, 2012, at 20:20:59.902289872 UTC@.
+(This timestamp is @code{(1351023659902289872 . 1000000000)}
+if @code{current-time-list} is @code{nil}.)
@item 122295
is 122295 bytes long. (It may not contain 122295 characters, though,