From e2a60286439addcd388b162d098897e932842d9c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 3 Feb 2018 22:39:31 -0500 Subject: [PATCH] Add docstring to doom/toggle-profiler --- core/autoload/debug.el | 2 ++ 1 file changed, 2 insertions(+) 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)