]> git.eshelyaron.com Git - emacs.git/commit
New xref-quit-and-goto-xref command bound to TAB (bug#28814)
authorJoão Távora <joaotavora@gmail.com>
Fri, 13 Oct 2017 15:37:47 +0000 (16:37 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 3 Nov 2017 16:13:39 +0000 (16:13 +0000)
commite950f329c0cfbe9bf3ba2c2e8ee788d6cdf4cebb
tree3878b76f97508cbd1d5830b3cbbf1c03140f89d2
parent5d34e1b2881caa5743816030c2e9cdcda58e9719
New xref-quit-and-goto-xref command bound to TAB (bug#28814)

This is like xref-goto-xref, but quits the *xref* window just before
the user jump to ref.

* lisp/progmodes/xref.el (xref--show-location): Handle 'quit
value for SELECT.
(xref-goto-xref): Take optional QUIT arg.
(xref-quit-and-goto-xref): New command.
(xref--xref-buffer-mode-map): Bind "Q" and "TAB" to
xref-quit-and-goto-xref.

* doc/emacs/maintaining.texi (Xref Commands): Describe new bindings in
*xref*.

* etc/NEWS (Xref): Describe new binding.
doc/emacs/maintaining.texi
etc/NEWS
lisp/progmodes/xref.el