New doom/toggle-debug-mode command
This commit is contained in:
parent
cee8baf1ee
commit
7d9f2e5078
1 changed files with 6 additions and 0 deletions
|
@ -158,3 +158,9 @@ markdown and copies it to your clipboard, ready to be pasted into bug reports!"
|
||||||
exec-path)))
|
exec-path)))
|
||||||
(kill-new str)
|
(kill-new str)
|
||||||
(message "Done! Copied to your clipboard")))
|
(message "Done! Copied to your clipboard")))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun doom/toggle-debug-mode ()
|
||||||
|
(interactive)
|
||||||
|
(setq doom-debug-mode (not doom-debug-mode))
|
||||||
|
(toggle-debug-on-error))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue