Function: evil-update

evil-update is an interactive and byte-compiled function defined in evil-commands.el.

Signature

(evil-update)

Documentation

Same as evil-write, but only write when the buffer has been modified.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-update ()
  "Same as `evil-write', but only write when the buffer has been modified."
  :motion nil
  :move-point nil
  :type line
  :repeat nil
  (when (buffer-modified-p)
    (call-interactively #'evil-write)))