From: Noam Postavsky Date: Fri, 29 Jul 2016 00:06:09 +0000 (-0400) Subject: profiler: Add mouse-1 binding for tree expansion X-Git-Tag: emacs-26.0.90~1839 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a5b6e621c68172bb69d60fe8a76932f7c779f81;p=emacs.git profiler: Add mouse-1 binding for tree expansion (profiler-report-mode-map): Add mouse-1 binding for profiler-report-toggle-entry (Bug #13455). --- diff --git a/lisp/profiler.el b/lisp/profiler.el index 401cae537e6..2aff99986a1 100644 --- a/lisp/profiler.el +++ b/lisp/profiler.el @@ -534,6 +534,7 @@ 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 [mouse-2] 'profiler-report-find-entry)