Variable: mpc-status-callbacks
mpc-status-callbacks is a variable defined in mpc.el.gz.
Value
((state . mpc--status-timers-refresh)
(state . mpc--faster-toggle-refresh)
(volume . mpc-volume-refresh)
(file . mpc-songpointer-refresh)
(song . mpc-songpointer-refresh)
(updating_db . mpc-updated-db)
(updating_db . mpc--status-timers-refresh)
(t . mpc-current-refresh))
Documentation
Alist associating properties to the functions that care about them.
Each entry has the form (PROP . FUN) where PROP can be t to mean to call FUN for any change whatsoever.
Source Code
;; Defined in /usr/src/emacs/lisp/mpc.el.gz
(defvar mpc-status-callbacks
'((state . mpc--status-timers-refresh)
;; (song . mpc--queue-refresh)
;; (state . mpc--queue-refresh) ;To detect the end of the last song.
(state . mpc--faster-toggle-refresh) ;Only ffwd/rewind while play/pause.
(volume . mpc-volume-refresh)
(file . mpc-songpointer-refresh)
;; The song pointer may need updating even if the file doesn't change,
;; if the same song appears multiple times in a row.
(song . mpc-songpointer-refresh)
(updating_db . mpc-updated-db)
(updating_db . mpc--status-timers-refresh)
(t . mpc-current-refresh))
"Alist associating properties to the functions that care about them.
Each entry has the form (PROP . FUN) where PROP can be t to mean
to call FUN for any change whatsoever.")