diff --git a/core/autoload/debug.el b/core/autoload/debug.el index 70f41ae4f..efd152161 100644 --- a/core/autoload/debug.el +++ b/core/autoload/debug.el @@ -80,6 +80,8 @@ selection of all minor-modes, active or not." (defvar doom--profiler nil) ;;;###autoload (defun doom/toggle-profiler () + "Toggle the Emacs profiler. Starts it if isn't running. Stops it and pops up +the profiling report otherwise." (interactive) (if (not doom--profiler) (profiler-start 'cpu+mem)