summaryrefslogtreecommitdiff
path: root/lisp/calendar
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-02-10 23:47:43 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-02-10 23:54:34 -0800
commit3eb63da19579824801a169a03b9de7bdd945eaa6 (patch)
treeab0a113f666938b6577bded36daa9fc19614b8a7 /lisp/calendar
parent57c74793c46c6533b63836f00aecaf3ac2accb6d (diff)
downloademacs-3eb63da19579824801a169a03b9de7bdd945eaa6.tar.gz
Fix doc string treatment of integer overflow
* lisp/calendar/cal-dst.el (calendar-dst-find-startend): Fix doc string.
Diffstat (limited to 'lisp/calendar')
-rw-r--r--lisp/calendar/cal-dst.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calendar/cal-dst.el b/lisp/calendar/cal-dst.el
index 567ba9c8a12..57747c64f66 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))