From: Paul Eggert Date: Tue, 21 May 2019 15:13:04 +0000 (-0700) Subject: Remove time-date debugging scaffolding X-Git-Tag: emacs-27.0.90~2805^2~17 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ff7807aa7c21f80798f36829edc17d4f6c1677e;p=emacs.git Remove time-date debugging scaffolding Problem reported by Lars Ingebrigtsen in: https://lists.gnu.org/r/emacs-devel/2019-05/msg00721.html * lisp/calendar/time-date.el (date-to-time): Use plain condition-case, not condition-case-unless-debug. --- diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index decb21e9c20..2c0280ccf3b 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el @@ -156,7 +156,7 @@ If DATE lacks timezone information, GMT is assumed." (let ((overflow-error '(error "Specified time is not representable"))) (if (equal err overflow-error) (signal (car err) (cdr err)) - (condition-case-unless-debug err + (condition-case err (encode-time (parse-time-string (timezone-make-date-arpa-standard date))) (error