From: Mattias EngdegÄrd Date: Sat, 21 Aug 2021 09:05:57 +0000 (+0200) Subject: Re-type the :location slot in `xref-match-item` to `xref-location` X-Git-Tag: emacs-28.0.90~1393 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d6e7700314290d76aae26313daea613ae92b81e;p=emacs.git Re-type the :location slot in `xref-match-item` to `xref-location` * lisp/progmodes/xref.el (xref-match-item): Change type for :location from `xref-file-location`, which was likely a mistake, to `xref-location`. This allows `xref-make-match` to take arguments of any subtype of `xref-location` (bug#50067). --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 21f4abfccf4..90329464f2b 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -233,7 +233,7 @@ LOCATION is an `xref-location'." ((summary :type string :initarg :summary :reader xref-item-summary) (location :initarg :location - :type xref-file-location + :type xref-location :reader xref-item-location) (length :initarg :length :reader xref-match-length)) :comment "A match xref item describes a search result.")