Function: evil-write-all
evil-write-all is an interactive and byte-compiled function defined in
evil-commands.el.
Signature
(evil-write-all BANG)
Documentation
Save all buffers visiting a file.
If BANG is non nil then read-only buffers are saved, too, otherwise they are skipped.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-commands.el
(evil-define-command evil-write-all (bang)
"Save all buffers visiting a file.
If BANG is non nil then read-only buffers are saved, too,
otherwise they are skipped. "
:repeat nil
:move-point nil
(interactive "<!>")
(if bang
(save-some-buffers t)
;; save only buffer that are not read-only and
;; that are visiting a file
(save-some-buffers t
#'(lambda ()
(and (not buffer-read-only)
(buffer-file-name))))))