From d8272ff755a4dcbef95cdda24b23154f47a953cb Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 25 Jul 2019 22:00:59 +0200 Subject: [PATCH] Fix mouse-1 in profiler-report-mode-map * lisp/profiler.el (profiler-report-mode-map): Make `mouse-1' respect `mouse-1-click-follows-link' (bug#30515). --- lisp/profiler.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/profiler.el b/lisp/profiler.el index 775096276da..ee11ff68c56 100644 --- a/lisp/profiler.el +++ b/lisp/profiler.el @@ -473,6 +473,7 @@ this variable directly.") (fboundp entry)) (propertize (symbol-name entry) 'face 'link + 'follow-link "\r" 'mouse-face 'highlight 'help-echo "\ mouse-2: jump to definition\n\ @@ -534,9 +535,9 @@ RET: expand or collapse")) (define-key map "\r" 'profiler-report-toggle-entry) (define-key map "\t" 'profiler-report-toggle-entry) (define-key map "i" 'profiler-report-toggle-entry) - (define-key map [mouse-1] 'profiler-report-toggle-entry) (define-key map "f" 'profiler-report-find-entry) (define-key map "j" 'profiler-report-find-entry) + (define-key map [follow-link] 'mouse-face) (define-key map [mouse-2] 'profiler-report-find-entry) (define-key map "d" 'profiler-report-describe-entry) (define-key map "C" 'profiler-report-render-calltree) -- 2.39.2