Function: diff-hl-stage-diff-mode
diff-hl-stage-diff-mode is an interactive and natively compiled
function defined in diff-hl.el.
Signature
(diff-hl-stage-diff-mode)
Documentation
Major mode for editing a diff buffer before staging.
M-x diff-hl-stage-commit (diff-hl-stage-commit)
In addition to any hooks its parent mode diff-mode might have run,
this mode runs the hook diff-hl-stage-diff-mode-hook, as the final
or penultimate step during initialization.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/cfz56rl3lp066226i0bmmgiicls3gcq7-emacs-packages-deps/share/emacs/site-lisp/elpa/diff-hl-20261001.135/diff-hl.el
(define-derived-mode diff-hl-stage-diff-mode diff-mode "Stage Diff"
"Major mode for editing a diff buffer before staging.
\\[diff-hl-stage-commit]"
(setq revert-buffer-function #'ignore))