[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4d6e770 2/6: Re-type the :location slot in `xref-match-item` to `
From: |
Mattias Engdegård |
Subject: |
master 4d6e770 2/6: Re-type the :location slot in `xref-match-item` to `xref-location` |
Date: |
Sat, 21 Aug 2021 06:56:43 -0400 (EDT) |
branch: master
commit 4d6e7700314290d76aae26313daea613ae92b81e
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
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).
---
lisp/progmodes/xref.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 21f4abf..9032946 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.")
- master updated (20e32f3 -> f415956), Mattias Engdegård, 2021/08/21
- master 4d6e770 2/6: Re-type the :location slot in `xref-match-item` to `xref-location`,
Mattias Engdegård <=
- master 6993d45 4/6: Add "Find References" to context menu (bug#50067), Mattias Engdegård, 2021/08/21
- master b483090 3/6: Indicate progress while searching for references in xref, Mattias Engdegård, 2021/08/21
- master 49435be 1/6: Add xref operations to context menu unconditionally, Mattias Engdegård, 2021/08/21
- master f415956 6/6: Remove default "Select" title from NS popup menus (bug#50067), Mattias Engdegård, 2021/08/21
- master d6ad208 5/6: Use overlay arrow to indicate current *xref* selection, Mattias Engdegård, 2021/08/21