Function: eca-editor--wait-for-flycheck

eca-editor--wait-for-flycheck is a natively compiled function defined in eca-editor.el.

Signature

(eca-editor--wait-for-flycheck TIMEOUT)

Documentation

Wait for flycheck to finish, up to TIMEOUT seconds.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-editor.el
(defun eca-editor--wait-for-flycheck (timeout)
  "Wait for flycheck to finish, up to TIMEOUT seconds."
  (let ((deadline (+ (float-time) timeout)))
    (while (and (flycheck-running-p)
                (< (float-time) deadline))
      (sit-for 0.2))))