]> git.eshelyaron.com Git - emacs.git/commit
Streamline time decoding and conversion
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Jun 2022 04:08:03 +0000 (23:08 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Jun 2022 04:27:08 +0000 (23:27 -0500)
commit343482d641511b54aa0444791770b4ea70d27cc7
treef3afc7ffb3366bedaed07b66c5e1b13eb851cd29
parent9a2be29672b8569406777af24d60f0afabf8b52d
Streamline time decoding and conversion

* src/lisp.h (lisp_h_BASE2_EQ, BASE2_EQ): New macros and functions.
* src/timefns.c (tzlookup, Fdecode_time): Use them.
(Ftime_convert): Convert to symbol once, instead of many times.
src/lisp.h
src/timefns.c