]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix doc string treatment of integer overflow
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Feb 2019 07:47:43 +0000 (23:47 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Feb 2019 07:54:34 +0000 (23:54 -0800)
* lisp/calendar/cal-dst.el (calendar-dst-find-startend):
Fix doc string.

lisp/calendar/cal-dst.el

index 567ba9c8a12bbf76c8412fb9d694cf7c2564d45f..57747c64f662572332ac72b3891059ef0a57e286 100644 (file)
@@ -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))