Commit f2b395c4 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

(xref--mouse-2): Fix not to jump to the next line

* lisp/progmodes/xref.el (xref--mouse-2): Fix not to jump to the
next line.
parent 5ff4bfae
......@@ -731,7 +731,8 @@ references displayed in the current *xref* buffer."
(interactive "e")
(mouse-set-point event)
(forward-line 0)
(xref--search-property 'xref-item)
(or (get-text-property (point) 'xref-item)
(xref--search-property 'xref-item))
(xref-show-location-at-point))
(defun xref--insert-xrefs (xref-alist)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment