branch: externals/xref-union
commit b84e22be16cf40f19b827e0097a6727ab9f71652
Merge: 9a8df57538 cb790499b0
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>
Merge pull request 'Fix comparison of duplicates matches' (#3) from
fap/xref-union.el:fix-marker-matching into master
Reviewed-on: https://codeberg.org/pkal/xref-union.el/pulls/3
---
xref-union.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xref-union.el b/xref-union.el
index 3eb42e0e47..4c32d11a75 100644
--- a/xref-union.el
+++ b/xref-union.el
@@ -74,8 +74,8 @@ The marker points to the beginning of the line in which ITEM
is located."
"Check if the items ITEM1 and ITEM2 are the same.
Same in this context means they reference the same line in the same
buffer."
- (= (xref-union--bol-marker item1)
- (xref-union--bol-marker item2)))
+ (equal (xref-union--bol-marker item1)
+ (xref-union--bol-marker item2)))
(cl-defmethod xref-backend-identifier-at-point ((backends (head union)))
"Collect the results of multiple Xref BACKENDS."