Function: blink-cursor-check
blink-cursor-check is a byte-compiled function defined in frame.el.gz.
Signature
(blink-cursor-check)
Documentation
Check if cursor blinking shall be restarted.
This is done when a frame gets focus. Blink timers may be
stopped by blink-cursor-suspend. Internally calls
blink-cursor--should-blink and returns its result.
Source Code
;; Defined in /usr/src/emacs/lisp/frame.el.gz
(defun blink-cursor-check ()
"Check if cursor blinking shall be restarted.
This is done when a frame gets focus. Blink timers may be
stopped by `blink-cursor-suspend'. Internally calls
`blink-cursor--should-blink' and returns its result."
(let ((should-blink (blink-cursor--should-blink)))
(when (and should-blink (not blink-cursor-idle-timer))
(remove-hook 'post-command-hook #'blink-cursor-check)
(blink-cursor--start-idle-timer))
should-blink))