summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2026-02-22 14:13:18 +0100
committerPhilip Kaludercic <philipk@posteo.net>2026-02-22 14:13:18 +0100
commitb84e22be16cf40f19b827e0097a6727ab9f71652 (patch)
tree8ab0795552fa66aeef02c1b2f0738af9d7ae8e80
parent9a8df575385d0061c35b23026b1a4ed5c31cc6f9 (diff)
parentcb790499b0aad8bbf989a9b81340088389872782 (diff)
Merge pull request 'Fix comparison of duplicates matches' (#3) from fap/xref-union.el:fix-marker-matching into masterexternals/xref-union
Reviewed-on: https://codeberg.org/pkal/xref-union.el/pulls/3
-rw-r--r--xref-union.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/xref-union.el b/xref-union.el
index 3eb42e0..4c32d11 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."