Function: vhdl-run-when-idle
vhdl-run-when-idle is a byte-compiled function defined in
vhdl-mode.el.gz.
Signature
(vhdl-run-when-idle SECS REPEAT FUNCTION)
Documentation
Wait until idle, then run FUNCTION.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-run-when-idle (secs repeat function)
"Wait until idle, then run FUNCTION."
(if (fboundp 'start-itimer)
(start-itimer "vhdl-mode" function secs repeat t)
;; explicitly activate timer (necessary when Emacs is already idle)
(aset (run-with-idle-timer secs repeat function) 0 nil)))