emacs-diffs
[Top][All Lists]
Advanced

[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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]