diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/timefns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timefns.c b/src/timefns.c index 6cfb787af8f..b061be0a786 100644 --- a/src/timefns.c +++ b/src/timefns.c | |||
| @@ -1221,7 +1221,8 @@ time_cmp (Lisp_Object a, Lisp_Object b) | |||
| 1221 | 1221 | ||
| 1222 | /* Compare nil to nil correctly, and handle other eq values quicker | 1222 | /* Compare nil to nil correctly, and handle other eq values quicker |
| 1223 | while we're at it. Compare here rather than earlier, to handle | 1223 | while we're at it. Compare here rather than earlier, to handle |
| 1224 | NaNs and check formats. */ | 1224 | NaNs. This means (time-equal-p X X) does not signal an error if |
| 1225 | X is not a valid time value, but that's OK. */ | ||
| 1225 | if (EQ (a, b)) | 1226 | if (EQ (a, b)) |
| 1226 | return 0; | 1227 | return 0; |
| 1227 | 1228 | ||