Function: grep-edit-mode

grep-edit-mode is an interactive and byte-compiled function defined in grep.el.gz.

Signature

(grep-edit-mode)

Documentation

Major mode for editing *grep* buffers.

In this mode, changes to the *grep* buffer are applied to the originating files. Type C-c C-c (grep-edit-save-changes) to exit Grep-Edit mode, return to Grep mode.

The only editable texts in a Grep-Edit buffer are the match results.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/grep.el.gz
(defun grep-edit-mode ()
  "Major mode for editing *grep* buffers.
In this mode, changes to the *grep* buffer are applied to the
originating files.
\\<grep-edit-mode-map>
Type \\[grep-edit-save-changes] to exit Grep-Edit mode, return to Grep
mode.

The only editable texts in a Grep-Edit buffer are the match results."
  (interactive)
  (error "This mode can be enabled only by `grep-change-to-grep-edit-mode'"))