mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-23 14:03:44 -05:00
New doom/toggle-debug-mode command
This commit is contained in:
@@ -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))
|
||||||
|
Reference in New Issue
Block a user