emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 34e3ad5 1/9: Fix encode-time doc string


From: Paul Eggert
Subject: master 34e3ad5 1/9: Fix encode-time doc string
Date: Thu, 16 Dec 2021 14:17:36 -0500 (EST)

branch: master
commit 34e3ad5ae449f4801af09d1df89d57350d0dc579
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Fix encode-time doc string
    
    * src/timefns.c (Fencode_time): Fix incorrect doc string
    that talks about FORM (which doesn’t exist) by copying
    wording from the manual instead.
---
 src/timefns.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/timefns.c b/src/timefns.c
index a9921cd..0c218ba 100644
--- a/src/timefns.c
+++ b/src/timefns.c
@@ -1651,12 +1651,11 @@ saving flag to be guessed.
 
 As an obsolescent calling convention, if this function is called with
 6 or more arguments, the first 6 arguments are SECOND, MINUTE, HOUR,
-DAY, MONTH, and YEAR, and specify the components of a decoded time,
-where DST assumed to be -1 and FORM is omitted.  If there are more
-than 6 arguments the *last* argument is used as ZONE and any other
-extra arguments are ignored, so that (apply #\\='encode-time
-(decode-time ...)) works.  In this obsolescent convention, DST and
-ZONE default to -1 and nil respectively.
+DAY, MONTH, and YEAR, and specify the components of a decoded time.
+If there are more than 6 arguments the *last* argument is used as ZONE
+and any other extra arguments are ignored, so that (apply
+#\\='encode-time (decode-time ...)) works.  In this obsolescent
+convention, DST and ZONE default to -1 and nil respectively.
 
 Years before 1970 are not guaranteed to work.  On some systems,
 year values as low as 1901 do work.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]