Variable: super-save-in-progress
super-save-in-progress is a variable defined in super-save.el.
Value
nil
Documentation
Non-nil when a super-save operation is in progress.
Save hook functions can check this variable to skip expensive processing during automatic saves. For example:
(add-hook 'before-save-hook
(lambda ()
(unless super-save-in-progress
(my-expensive-formatting-function))))
Source Code
;; Defined in /nix/store/8mya90aayfyjjmvwkbq8wf8x7gg109i7-emacs-packages-deps/share/emacs/site-lisp/elpa/super-save-20260318.1214/super-save.el
(defvar super-save-in-progress nil
"Non-nil when a super-save operation is in progress.
Save hook functions can check this variable to skip expensive
processing during automatic saves. For example:
(add-hook \\='before-save-hook
(lambda ()
(unless super-save-in-progress
(my-expensive-formatting-function))))")