mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add docstring to doom/toggle-profiler
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user