diff options
| author | Paul Eggert | 2019-02-10 23:47:43 -0800 |
|---|---|---|
| committer | Paul Eggert | 2019-02-10 23:54:34 -0800 |
| commit | 3eb63da19579824801a169a03b9de7bdd945eaa6 (patch) | |
| tree | ab0a113f666938b6577bded36daa9fc19614b8a7 | |
| parent | 57c74793c46c6533b63836f00aecaf3ac2accb6d (diff) | |
| download | emacs-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.el | 4 |
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, | |||
| 279 | respectively. This function first attempts to use pre-calculated | 279 | respectively. This function first attempts to use pre-calculated |
| 280 | data from `calendar-dst-transition-cache', otherwise it calls | 280 | data 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). |
| 282 | If dates in YEAR cannot be handled by `encode-time' (e.g. if they | 282 | If dates in YEAR cannot be handled by `encode-time' (e.g., |
| 283 | are too large to be represented as a lisp integer), then rather | 283 | if they are out of range for POSIX time_t), then rather |
| 284 | than an error this function returns the result appropriate for | 284 | than an error this function returns the result appropriate for |
| 285 | the current year." | 285 | the current year." |
| 286 | (let ((e (assoc year calendar-dst-transition-cache)) | 286 | (let ((e (assoc year calendar-dst-transition-cache)) |