]> git.eshelyaron.com Git - emacs.git/commit
Make window choice in xref commands configurable
authorJuri Linkov <juri@linkov.net>
Mon, 4 Feb 2019 22:52:25 +0000 (22:52 +0000)
committerJoão Távora <joaotavora@gmail.com>
Wed, 6 Feb 2019 22:50:02 +0000 (22:50 +0000)
commit94b320849e9655db110ed74ca73974c78f95428a
treeff9d5c15d74e33571b1f34a1e9b3eb24e5b130de
parent6ed9d0057d9a8ef1331049c55d5df3cc4e02c5f2
Make window choice in xref commands configurable

Previously, it wasn't easy to tell xref.el commands like
xref-find-definitions or xref-find-definitions-other-window how to
choose a window for the *xref* buffer or how to find windows for
displaying the results after choosing a candidate.  This patch makes
that task easier, but keeps the current behaviour intact.

Co-authored-by: João Távora <joaotavora@gmail.com>
* lisp/progmodes/xref.el (xref--show-pos-in-buf): Simplify.
lisp/progmodes/xref.el