Refactor feature/debugger (still WIP)

This commit is contained in:
Henrik Lissner 2017-09-23 14:42:04 +02:00
parent 637824e543
commit 63a4a61714
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 27 additions and 23 deletions

View file

@ -2,8 +2,10 @@
;;;###autoload
(defun +debugger/quit ()
"Quit the active debugger, if any."
(interactive)
(ignore-errors (call-interactively 'realgud:cmd-quit))
(ignore-errors (call-interactively #'realgud:cmd-quit))
(doom/popup-close)
(evil-normal-state))
(when (featurep 'evil)
(evil-normal-state)))