]> git.eshelyaron.com Git - emacs.git/commit
Omit temporary warning re obsolete timestamps
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Dec 2021 17:40:22 +0000 (09:40 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Dec 2021 19:17:27 +0000 (11:17 -0800)
commit73d6b19024db10b65ba368bd079223157d73e737
treed41cc6917293e012bfcc88099b28d9681f158a04
parentf25ad39983cc3e89b007390bc0fd860f48379497
Omit temporary warning re obsolete timestamps

Do not warn about timestamps like (1 . 1000).  This warning was added
in Emacs 27 as a temporary transition aid, and has now served its
purpose.  These timestamps, which Emacs 26 and earlier treated as (HI
. LO) instead of as (TICKS . HZ), were never generated by Emacs
primitives, and in practice the warning seems to have been triggered
only by test cases designed to generate it.
* src/timefns.c (WARN_OBSOLETE_TIMESTAMPS): Remove.
All uses changed to assume it’s false.
(decode_lisp_time): Simplify by taking a bool instead of an
integer bitmask.  All uses changed.
doc/lispref/os.texi
etc/NEWS
src/systime.h
src/timefns.c