Function: xref-edit-mode

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

Signature

(xref-edit-mode)

Documentation

Major mode for editing *xref* buffers.

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

The only editable texts in an Xref-Edit buffer are the match results.

Key Bindings

Source Code

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

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