Function: corfu-echo--cancel

corfu-echo--cancel is a byte-compiled function defined in corfu-echo.el.

Signature

(corfu-echo--cancel &optional MSG)

Documentation

Cancel echo timer and refresh MSG.

Source Code

;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu-echo.el
(defun corfu-echo--cancel (&optional msg)
  "Cancel echo timer and refresh MSG."
  (when corfu-echo--timer
    (cancel-timer corfu-echo--timer)
    (setq corfu-echo--timer nil))
  (corfu-echo--show msg)
  (unless corfu-echo--message
    (setq corfu-echo--timer nil
          corfu-echo--message nil)))