]> git.eshelyaron.com Git - emacs.git/commit
Fix xref interaction with which-func (bug#59575)
authorJuanma Barranquero <lekktu@gmail.com>
Sun, 27 Nov 2022 13:57:14 +0000 (14:57 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 27 Nov 2022 13:58:45 +0000 (14:58 +0100)
commit31cfd6d3116d18c2c5b031369aeba0170d4920de
tree780c01f43e8b95e51c9f7b3945bddc9bc12454d1
parenta5259b48a4185e84554f4e15b96578ad26772956
Fix xref interaction with which-func (bug#59575)

* lisp/progmodes/xref.el (xref--add-log-current-defun):
New function.
(xref--xref-buffer-mode): Assign it buffer-locally to
`add-log-current-defun-function'.
lisp/progmodes/xref.el