Function: blink-cursor--start-idle-timer

blink-cursor--start-idle-timer is a byte-compiled function defined in frame.el.gz.

Signature

(blink-cursor--start-idle-timer)

Documentation

Start the blink-cursor-idle-timer.

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
(defun blink-cursor--start-idle-timer ()
  "Start the `blink-cursor-idle-timer'."
  (when blink-cursor-idle-timer (cancel-timer blink-cursor-idle-timer))
  (setq blink-cursor-idle-timer
        ;; The 0.2 sec limitation from below is to avoid erratic
        ;; behavior (or downright failure to display the cursor
        ;; during command execution) if they set blink-cursor-delay
        ;; to a very small or even zero value.
        (run-with-idle-timer (max 0.2 blink-cursor-delay)
                             :repeat #'blink-cursor-start)))