diff options
| author | Dmitry Gutov | 2026-03-31 19:30:33 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2026-04-01 04:04:39 +0300 |
| commit | cda65ffa58e1280fabfdf3eb7340f429b2aedd4d (patch) | |
| tree | 1994b6c5b1169ef28aafcc4aea5c465dc000de44 /etc | |
| parent | f898d94c7b117b77f66d9472f9103961b5f6b6af (diff) | |
| download | emacs-cda65ffa58e1280fabfdf3eb7340f429b2aedd4d.tar.gz emacs-cda65ffa58e1280fabfdf3eb7340f429b2aedd4d.zip | |
Add xref-edit-mode (bug#80616)
Based on the existing grep-edit-mode code.
* lisp/progmodes/xref.el (xref-edit--prepare-buffer): New function.
(xref-edit-mode-map, xref-edit-mode-hook): New variables.
(xref-edit-mode, xref-change-to-xref-edit-mode)
(xref-edit-save-changes): New functions.
(xref--xref-buffer-mode-map): New binding ("e").
* doc/emacs/maintaining.texi (Identifier Search):
Mention xref-change-to-xref-edit-mode.
* etc/NEWS: Describe the addition.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -3202,6 +3202,11 @@ This minor mode binds 'xref-find-definitions-at-mouse' to | |||
| 3202 | definition, following the convention from other editors. The global | 3202 | definition, following the convention from other editors. The global |
| 3203 | minor mode 'global-xref-mouse-mode' will enable this in all buffers. | 3203 | minor mode 'global-xref-mouse-mode' will enable this in all buffers. |
| 3204 | 3204 | ||
| 3205 | +++ | ||
| 3206 | *** New command 'xref-change-to-xref-edit-mode'. | ||
| 3207 | It's bound to "e" and it switches an Xref buffer into an "editable" mode | ||
| 3208 | like similar features in Occur and Grep buffers. | ||
| 3209 | |||
| 3205 | ** Revert | 3210 | ** Revert |
| 3206 | 3211 | ||
| 3207 | +++ | 3212 | +++ |