diff options
| author | Paul Eggert | 2018-09-28 10:32:41 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-09-28 10:37:53 -0700 |
| commit | 857c2c271080ef62e57128f531cee6e974ca28fb (patch) | |
| tree | cd5855c98bb8b5f18c462add82b5e2e44980a464 /src | |
| parent | 6aa93b45af9fb3631fb8fb6a04407db4d9a74107 (diff) | |
| download | emacs-857c2c271080ef62e57128f531cee6e974ca28fb.tar.gz emacs-857c2c271080ef62e57128f531cee6e974ca28fb.zip | |
Rename time-equal to time-equal-p
This is for consistency with time-less-p.
* doc/lispref/os.texi (Time Calculations), etc/NEWS:
* src/editfns.c (Ftime_equal_p, syms_of_editfns):
* test/lisp/emacs-lisp/timer-tests.el (timer-test-multiple-of-time):
Rename.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c index acd80bbf311..daea7463871 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1676,7 +1676,7 @@ See `current-time-string' for the various forms of a time value. */) | |||
| 1676 | return time_cmp (t1, t2) < 0 ? Qt : Qnil; | 1676 | return time_cmp (t1, t2) < 0 ? Qt : Qnil; |
| 1677 | } | 1677 | } |
| 1678 | 1678 | ||
| 1679 | DEFUN ("time-equal", Ftime_equal, Stime_equal, 2, 2, 0, | 1679 | DEFUN ("time-equal-p", Ftime_equal_p, Stime_equal_p, 2, 2, 0, |
| 1680 | doc: /* Return non-nil if T1 and T2 are equal time values. */) | 1680 | doc: /* Return non-nil if T1 and T2 are equal time values. */) |
| 1681 | (Lisp_Object t1, Lisp_Object t2) | 1681 | (Lisp_Object t1, Lisp_Object t2) |
| 1682 | { | 1682 | { |
| @@ -5765,7 +5765,7 @@ it to be non-nil. */); | |||
| 5765 | defsubr (&Scurrent_time); | 5765 | defsubr (&Scurrent_time); |
| 5766 | defsubr (&Stime_add); | 5766 | defsubr (&Stime_add); |
| 5767 | defsubr (&Stime_subtract); | 5767 | defsubr (&Stime_subtract); |
| 5768 | defsubr (&Stime_equal); | 5768 | defsubr (&Stime_equal_p); |
| 5769 | defsubr (&Stime_less_p); | 5769 | defsubr (&Stime_less_p); |
| 5770 | defsubr (&Sget_internal_run_time); | 5770 | defsubr (&Sget_internal_run_time); |
| 5771 | defsubr (&Sformat_time_string); | 5771 | defsubr (&Sformat_time_string); |