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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user