summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Leake <stephen_leake@stephe-leake.org>2015-06-16 16:22:50 -0500
committerStephen Leake <stephen_leake@stephe-leake.org>2015-06-17 09:35:00 -0500
commit4b1613762fec33cd12c8484820392c5d7c74c83c (patch)
treeea23c314ff2f946ad16d4c5060622d9ebc3d6d1c
parentcf23c335acc7d3093001cdc54a56dda6bda25778 (diff)
downloademacs-4b1613762fec33cd12c8484820392c5d7c74c83c.tar.gz
Add missing function xref-location-group for elisp-mode.
* lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
-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