Function: eca-chat--elapsed-time-string
eca-chat--elapsed-time-string is a natively compiled function defined
in eca-chat.el.
Signature
(eca-chat--elapsed-time-string START-TIME)
Documentation
Return a propertized elapsed-time string since START-TIME.
Uses eca-chat--format-duration for display, with
eca-chat-time-face and a eca-chat--elapsed-time text
property so the timer can locate it.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--elapsed-time-string (start-time)
"Return a propertized elapsed-time string since START-TIME.
Uses `eca-chat--format-duration' for display, with
`eca-chat-time-face' and a `eca-chat--elapsed-time' text
property so the timer can locate it."
(let* ((elapsed (floor (float-time (time-subtract (current-time) start-time))))
(str (concat " " (propertize (eca-chat--format-duration elapsed)
'font-lock-face 'eca-chat-time-face))))
(propertize str 'eca-chat--elapsed-time t)))