mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
Remove some Emacs 19 compat code
* lisp/type-break.el (type-break-time-stamp): Remove Emacs 19 compat code.
This commit is contained in:
parent
fd5c08892e
commit
9056e6392a
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user