]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change to profiler-report
authorBasil L. Contovounesios <contovob@tcd.ie>
Sun, 30 Jun 2019 12:30:03 +0000 (13:30 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Sun, 30 Jun 2019 12:30:03 +0000 (13:30 +0100)
* lisp/profiler.el (profiler-report): Make interactive
again (bug#22114).

lisp/profiler.el

index 74b847c8d74d4be642eaed3d4444a2dd195c1eb8..775096276da5a5ed9b7e32390ddd4abf28aec06a 100644 (file)
@@ -863,6 +863,7 @@ Also, if MODE is `mem' or `cpu+mem', then memory profiler will be started."
 
 (defun profiler-report ()
   "Report profiling results."
+  (interactive)
   (when (and (fboundp 'profiler-cpu-running-p) (profiler-cpu-running-p))
     (setq profiler-cpu-log (profiler-cpu-log)))
   (when (profiler-memory-running-p)