New doom/toggle-debug-mode command

This commit is contained in:
Henrik Lissner 2018-02-04 17:53:05 -05:00
parent cee8baf1ee
commit 7d9f2e5078
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -158,3 +158,9 @@ markdown and copies it to your clipboard, ready to be pasted into bug reports!"
exec-path)))
(kill-new str)
(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))