Insert, highlight and align line numbers in xref output
commit9fa69f6b14a3f13217ddbafbc120d5f8fafaca50
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 4 May 2015 23:44:20 +0000 (5 02:44 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 4 May 2015 23:59:34 +0000 (5 02:59 +0300)
treefe49eacebdeeca5b920a44181767f834d6c26d71
parent1ddb81a686a1e2cd6898cbd8b65878a74579ca71
Insert, highlight and align line numbers in xref output

* lisp/progmodes/etags.el (xref-location-line): Specialize for
xref-etags-location.

* lisp/progmodes/xref.el (xref-location-line): New generic method.
(xref-file-location): Add reader for the line slot.
(xref--location-at-point): Skip to the `xref-location' property.
(xref--collect-reference): Drop the line number from description.
(xref--insert-xrefs): Insert, highlight and align line numbers.
lisp/progmodes/etags.el
lisp/progmodes/xref.el