Function: system-taskbar--progress-reporter-update
system-taskbar--progress-reporter-update is a byte-compiled function
defined in system-taskbar.el.gz.
Signature
(system-taskbar--progress-reporter-update REPORTER STATE UPDATE-TEXT)
Documentation
Progress reporter system taskbar update function.
REPORTER, STATE, and UPDATE-TEXT are the same as in
progress-reporter-update-functions.
Source Code
;; Defined in /usr/src/emacs/lisp/system-taskbar.el.gz
;; `progress-reporter' support.
(defun system-taskbar--progress-reporter-update (_reporter state _update-text)
"Progress reporter system taskbar update function.
REPORTER, STATE, and UPDATE-TEXT are the same as in
`progress-reporter-update-functions'."
(when system-taskbar-mode
(pcase state
((pred floatp)
(system-taskbar--progress state))
((pred integerp)
;; This won't show 0.0 to indicate work in process until done.
(system-taskbar--progress
(/ (1+ (mod state 5)) 5.0)))
('done
(system-taskbar--progress nil)))))