mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 23:10:47 -08:00
Perform xref jump even inside indentation or at eol
* lisp/progmodes/xref.el (xref-goto-xref): Perform xref jump even inside indentation or at eol.
This commit is contained in:
parent
1f545d3364
commit
b87d7cc249
2 changed files with 7 additions and 1 deletions
|
|
@ -379,8 +379,9 @@ WINDOW controls how the buffer is displayed:
|
|||
(defvar-local xref--window nil)
|
||||
|
||||
(defun xref-goto-xref ()
|
||||
"Jump to the xref at point and bury the xref buffer."
|
||||
"Jump to the xref on the current line and bury the xref buffer."
|
||||
(interactive)
|
||||
(back-to-indentation)
|
||||
(let ((loc (or (xref--location-at-point)
|
||||
(error "No reference at point")))
|
||||
(window xref--window))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue