Function: evil-save-echo-area

evil-save-echo-area is a macro defined in evil-common.el.

Signature

(evil-save-echo-area &rest BODY)

Documentation

Save the echo area; execute BODY; restore the echo area.

Intermittent messages are not logged in the *Messages* buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
;; toggleable version of `with-temp-message'
(defmacro evil-save-echo-area (&rest body)
  "Save the echo area; execute BODY; restore the echo area.
Intermittent messages are not logged in the *Messages* buffer."
  (declare (indent defun) (debug t))
  `(let ((inhibit-quit t)
         evil-echo-area-message evil-write-echo-area)
     (evil-echo-area-save)
     (unwind-protect
         (progn ,@body)
       (evil-echo-area-restore))))