|
From: | Dmitry Gutov |
Subject: | bug#23455: 25.0.93; profiler-report doesn't configure xref for elisp |
Date: | Tue, 30 Jul 2019 02:15:58 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
On 28.07.2019 17:38, Lars Ingebrigtsen wrote:
The following patch seems to make `M-.' work as expected in the report buffers, but I'm wholly unfamiliar with how xref works -- I just cargo-culted the code in elisp-mode.el. Perhaps somebody who knows how this works can say whether it looks OK:
It does, thanks. Please feel free to install.
diff --git a/lisp/profiler.el b/lisp/profiler.el index ee11ff68c5..92495e2de8 100644 --- a/lisp/profiler.el +++ b/lisp/profiler.el @@ -615,9 +615,12 @@ profiler-report-setup-buffer (profiler-report-render-calltree)) buffer))+(defun profiler--xref-backend () 'elisp)
You could also use elisp--xref-backend directly, but this way we'll have a direct place for future improvements.
[Prev in Thread] | Current Thread | [Next in Thread] |