]> code.delx.au - gnu-emacs/blobdiff - lisp/profiler.el
* lisp/profiler.el (profiler-report-mode-map): Add a restart menu entry.
[gnu-emacs] / lisp / profiler.el
index 73b751c3fcda6212f1ceaaf9e332f2f0a3b58e9a..07192a39bef8df27bd60b482e4207267a55565ef 100644 (file)
@@ -466,6 +466,8 @@ RET: expand or collapse"))
         ["Write Profile..." profiler-report-write-profile :active t
          :help "Write current profile to a file"]
         "--"
+        ["Start Profiler" profiler-start :active (not (profiler-running-p))
+         :help "Start profiling"]
         ["Stop Profiler" profiler-stop :active (profiler-running-p)
          :help "Stop profiling"]
         ["New Report" profiler-report :active (profiler-running-p)