Function: which-key--start-timer

which-key--start-timer is a byte-compiled function defined in which-key.el.gz.

Signature

(which-key--start-timer &optional DELAY SECONDARY)

Documentation

Activate idle timer to trigger which-key--update.

Source Code

;; Defined in /usr/src/emacs/lisp/which-key.el.gz
;;; Timers

(defun which-key--start-timer (&optional delay secondary)
  "Activate idle timer to trigger `which-key--update'."
  (which-key--stop-timer)
  (setq which-key--secondary-timer-active secondary)
  (setq which-key--timer
        (run-with-idle-timer (or delay which-key-idle-delay)
                             t #'which-key--update)))