]> git.eshelyaron.com Git - emacs.git/commit
Make sure default-directory relates to the originating buffer
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 9 Jan 2021 00:08:59 +0000 (02:08 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 4 Feb 2021 20:05:59 +0000 (22:05 +0200)
commit19534f988c0f29199dfd51d627392bccf7426253
treef8cdf11268eb31d923d5d4795de7177c5692ad94
parentd1455027e0b04b67e903f5ef658a3fd65ca4da48
Make sure default-directory relates to the originating buffer

* lisp/progmodes/xref.el (xref--show-xref-buffer):
Pick up default-directory value from the caller
(https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00551.html).
(xref-show-definitions-buffer-at-bottom): Same.

(cherry picked from commit 6e73e07a6f5cbdd1c5ae6e0f3fbd0f8f56813f1a)
lisp/progmodes/xref.el