aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDmitry Gutov2026-03-31 19:30:33 +0300
committerDmitry Gutov2026-04-01 04:04:39 +0300
commitcda65ffa58e1280fabfdf3eb7340f429b2aedd4d (patch)
tree1994b6c5b1169ef28aafcc4aea5c465dc000de44 /etc
parentf898d94c7b117b77f66d9472f9103961b5f6b6af (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 2b4e81fee14..335778d248a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -3202,6 +3202,11 @@ This minor mode binds 'xref-find-definitions-at-mouse' to
3202definition, following the convention from other editors. The global 3202definition, following the convention from other editors. The global
3203minor mode 'global-xref-mouse-mode' will enable this in all buffers. 3203minor mode 'global-xref-mouse-mode' will enable this in all buffers.
3204 3204
3205+++
3206*** New command 'xref-change-to-xref-edit-mode'.
3207It's bound to "e" and it switches an Xref buffer into an "editable" mode
3208like similar features in Occur and Grep buffers.
3209
3205** Revert 3210** Revert
3206 3211
3207+++ 3212+++