From: Stefan Kangas Date: Fri, 16 Oct 2020 13:26:37 +0000 (+0200) Subject: Remove some Emacs 19 compat code X-Git-Tag: emacs-28.0.90~5599 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9056e6392a7619332f5c191bf386164f4a093420;p=emacs.git Remove some Emacs 19 compat code * lisp/type-break.el (type-break-time-stamp): Remove Emacs 19 compat code. --- diff --git a/lisp/type-break.el b/lisp/type-break.el index 0d5377fb88b..a9ec19b2565 100644 --- a/lisp/type-break.el +++ b/lisp/type-break.el @@ -956,11 +956,7 @@ FRAC should be the inverse of the fractional value; for example, a value of sum)) (defun type-break-time-stamp (&optional when) - (if (fboundp 'format-time-string) - (format-time-string type-break-time-stamp-format when) - ;; Emacs 19.28 and prior do not have format-time-string. - ;; In that case, result is not customizable. Upgrade today! - (format "[%s] " (substring (current-time-string when) 11 16)))) + (format-time-string type-break-time-stamp-format when)) (defun type-break-format-time (secs) (let ((mins (/ secs 60)))