(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.
This commit is contained in:
parent
5ff4bfaeec
commit
f2b395c4c5
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue