mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
xref-edit--prepare-buffer: Prohibit insertion before group headers too
* lisp/progmodes/xref.el (xref-edit--prepare-buffer): Do the previous change for group headers as well (no insertion in front).
This commit is contained in:
parent
99f2e353e7
commit
02c95dd92c
1 changed files with 2 additions and 1 deletions
|
|
@ -1481,7 +1481,8 @@ between them by typing in the minibuffer with completion."
|
|||
match)
|
||||
(while (setq match (text-property-search-forward 'xref-group))
|
||||
(add-text-properties (prop-match-beginning match) (prop-match-end match)
|
||||
'(read-only t)))
|
||||
'( read-only t
|
||||
front-sticky t)))
|
||||
(goto-char (point-min))
|
||||
(while (setq match (text-property-search-forward 'xref-item))
|
||||
(let ((line-number-end (save-excursion
|
||||
|
|
|
|||
Loading…
Reference in a new issue