* lisp/profiler.el (profiler-report-mode-map): Add a restart menu entry.
authorGlenn Morris <rgm@gnu.org>
Tue, 5 Feb 2013 02:12:58 +0000 (21:12 -0500)
committerGlenn Morris <rgm@gnu.org>
Tue, 5 Feb 2013 02:12:58 +0000 (21:12 -0500)
lisp/ChangeLog
lisp/profiler.el

index eff5ead..9fbc0e7 100644 (file)
@@ -1,5 +1,7 @@
 2013-02-05  Glenn Morris  <rgm@gnu.org>
 
+       * profiler.el (profiler-report-mode-map): Add a restart menu entry.
+
        * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
        Fix directory creation in fallback case.
 
index 73b751c..07192a3 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)