mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 03:17:36 +00:00
Fix printing of multiple items in one group without line numbers
* lisp/progmodes/xref.el (xref--insert-xrefs): Fix printing of multiple items in one group without line numbers (mentioned in bug#49731).
This commit is contained in:
parent
d6a3b1cd2b
commit
69398a4da0
1 changed files with 2 additions and 1 deletions
|
|
@ -966,7 +966,8 @@ GROUP is a string for decoration purposes and XREF is an
|
|||
'face 'xref-line-number)))))
|
||||
;; Render multiple matches on the same line, together.
|
||||
(when (and (equal prev-group group)
|
||||
(not (equal prev-line line)))
|
||||
(or (null line)
|
||||
(not (equal prev-line line))))
|
||||
(insert "\n"))
|
||||
(xref--insert-propertized
|
||||
(list 'xref-item xref
|
||||
|
|
|
|||
Loading…
Reference in a new issue