[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 3eb63da 2/4: Fix doc string treatment of integer ov
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 3eb63da 2/4: Fix doc string treatment of integer overflow |
Date: |
Mon, 11 Feb 2019 02:54:42 -0500 (EST) |
branch: master
commit 3eb63da19579824801a169a03b9de7bdd945eaa6
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Fix doc string treatment of integer overflow
* lisp/calendar/cal-dst.el (calendar-dst-find-startend):
Fix doc string.
---
lisp/calendar/cal-dst.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/calendar/cal-dst.el b/lisp/calendar/cal-dst.el
index 567ba9c..57747c6 100644
--- a/lisp/calendar/cal-dst.el
+++ b/lisp/calendar/cal-dst.el
@@ -279,8 +279,8 @@ expressions that when evaluated return the start and end
dates,
respectively. This function first attempts to use pre-calculated
data from `calendar-dst-transition-cache', otherwise it calls
`calendar-dst-find-data' (and adds the results to the cache).
-If dates in YEAR cannot be handled by `encode-time' (e.g. if they
-are too large to be represented as a lisp integer), then rather
+If dates in YEAR cannot be handled by `encode-time' (e.g.,
+if they are out of range for POSIX time_t), then rather
than an error this function returns the result appropriate for
the current year."
(let ((e (assoc year calendar-dst-transition-cache))