Function: wgrep-abort-changes
wgrep-abort-changes is an interactive and natively compiled function
defined in wgrep.el.
Signature
(wgrep-abort-changes)
Documentation
Discard all changes and return to original mode.
Key Bindings
wgrep-mode-map C-c C-k
Source Code
;; Defined in /nix/store/pbj4kr4ar755h56yscbqpnmv3swf8i1k-emacs-packages-deps/share/emacs/site-lisp/elpa/wgrep-20230203.1214/wgrep.el
(defun wgrep-abort-changes ()
"Discard all changes and return to original mode."
(interactive)
(wgrep-cleanup-overlays (point-min) (point-max))
(wgrep-restore-from-temp-buffer)
(wgrep-to-original-mode)
(message "Changes discarded"))