summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/timer.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2024-07-15 01:00:56 +0100
committerPaul Eggert <eggert@cs.ucla.edu>2024-07-16 15:37:22 -0700
commite1089cc9b6d7abfe468175eb92b146c884e00374 (patch)
tree984123c5ca97c932a7da63f5b164f2e863c474fc /lisp/emacs-lisp/timer.el
parentd10c1796c99637d847fa78e3fcb438d03774a00b (diff)
downloademacs-e1089cc9b6d7abfe468175eb92b146c884e00374.tar.gz
emacs-e1089cc9b6d7abfe468175eb92b146c884e00374.tar.bz2
emacs-e1089cc9b6d7abfe468175eb92b146c884e00374.zip
Simplify time form analysis
This does not change behavior; it merely refactors the code for simplicity. * src/timefns.c (enum timeform, struct form_time): Remove. All uses removed. (decode_time_components): Accept HZ instead of FORM. This saves a switch. All uses changed. (decode_lisp_time): Return union c_time instead of struct form_time. All uses changed. (lisp_time_cform): Remove. All uses changed to just use decode_lisp_time. (time_arith, Ftime_convert): Check (TICKS . HZ) form directly using CONSP, instead of using the old struct form_time. That's fast enough here.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions