Function: super-save-command
super-save-command is a natively compiled function defined in
super-save.el.
Signature
(super-save-command)
Documentation
Save the relevant buffers if needed.
When super-save-all-buffers is non-nil, save all modified buffers, else, save
only the current buffer.
Binds super-save-in-progress to t so that save hook functions can
detect automatic saves and skip expensive processing.
Source Code
;; Defined in /nix/store/8mya90aayfyjjmvwkbq8wf8x7gg109i7-emacs-packages-deps/share/emacs/site-lisp/elpa/super-save-20260318.1214/super-save.el
(defun super-save-command ()
"Save the relevant buffers if needed.
When `super-save-all-buffers' is non-nil, save all modified buffers, else, save
only the current buffer.
Binds `super-save-in-progress' to t so that save hook functions can
detect automatic saves and skip expensive processing."
(let ((super-save-in-progress t))
(mapc #'super-save-buffer (if super-save-all-buffers (buffer-list) (list (current-buffer))))))