Function: mpc--status-idle-timer-stop

mpc--status-idle-timer-stop is a byte-compiled function defined in mpc.el.gz.

Signature

(mpc--status-idle-timer-stop &optional REALLY)

Source Code

;; Defined in /usr/src/emacs/lisp/mpc.el.gz
(defun mpc--status-idle-timer-stop (&optional really)
  (when mpc--status-idle-timer
    ;; Turn it off even if we'll start it again, in case it changes the delay.
    (cancel-timer mpc--status-idle-timer))
  (setq mpc--status-idle-timer
        (unless really
          ;; We don't completely stop the timer, so that if some other MPD
          ;; client starts playback, we may get a chance to notice it.
          (run-with-idle-timer 10 t #'mpc--status-idle-timer-run))))