]> code.delx.au - gnu-emacs/commitdiff
Add missing function xref-location-group for elisp-mode.
authorStephen Leake <stephen_leake@stephe-leake.org>
Tue, 16 Jun 2015 21:22:50 +0000 (16:22 -0500)
committerStephen Leake <stephen_leake@stephe-leake.org>
Wed, 17 Jun 2015 14:35:00 +0000 (09:35 -0500)
* lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.

lisp/progmodes/elisp-mode.el

index 76f32decb175d7871eb70fe453dc764811fb2b29..335a24b444edfa8f216d27489ed2bb67b8f07c84 100644 (file)
@@ -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