Commit b87d7cc2 authored by Dmitry Gutov's avatar Dmitry Gutov

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.
parent 1f545d33
2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/xref.el (xref-goto-xref): Perform the jump even inside
indentation or at eol.
2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
......
......@@ -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))
......
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