summaryrefslogtreecommitdiff
path: root/lisp/progmodes/elisp-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/elisp-mode.el')
-rw-r--r--lisp/progmodes/elisp-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 76f32decb17..335a24b444e 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -716,6 +716,9 @@ It can be quoted, or be inside a quoted form."
(goto-char (or (cdr buffer-point) (point-min)))
(point-marker)))))
+(cl-defmethod xref-location-group ((l xref-elisp-location))
+ (xref-elisp-location-file l))
+
;;; Elisp Interaction mode
(defvar lisp-interaction-mode-map