aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2019-02-10 23:47:43 -0800
committerPaul Eggert2019-02-10 23:54:34 -0800
commit3eb63da19579824801a169a03b9de7bdd945eaa6 (patch)
treeab0a113f666938b6577bded36daa9fc19614b8a7
parent57c74793c46c6533b63836f00aecaf3ac2accb6d (diff)
downloademacs-3eb63da19579824801a169a03b9de7bdd945eaa6.tar.gz
emacs-3eb63da19579824801a169a03b9de7bdd945eaa6.zip
Fix doc string treatment of integer overflow
* lisp/calendar/cal-dst.el (calendar-dst-find-startend): Fix doc string.
-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,
279respectively. This function first attempts to use pre-calculated 279respectively. This function first attempts to use pre-calculated
280data from `calendar-dst-transition-cache', otherwise it calls 280data from `calendar-dst-transition-cache', otherwise it calls
281`calendar-dst-find-data' (and adds the results to the cache). 281`calendar-dst-find-data' (and adds the results to the cache).
282If dates in YEAR cannot be handled by `encode-time' (e.g. if they 282If dates in YEAR cannot be handled by `encode-time' (e.g.,
283are too large to be represented as a lisp integer), then rather 283if they are out of range for POSIX time_t), then rather
284than an error this function returns the result appropriate for 284than an error this function returns the result appropriate for
285the current year." 285the current year."
286 (let ((e (assoc year calendar-dst-transition-cache)) 286 (let ((e (assoc year calendar-dst-transition-cache))