diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-08-24 23:59:56 +0100 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-08-24 23:59:56 +0100 |
commit | e54f9522fc3063c5958aa20795ff57f3854d1c7c (patch) | |
tree | 2749ea717fa990c379d4154525329054785fa5e6 /cider-debug.el | |
parent | d8fc78fd3ae47dfbdff598b9da26d99341769c8b (diff) |
Disable spinner during debug
A debug session is an ongoing eval, but it's annoying to have the
spinner spinning while you debug, so we stop it as part of starting the
minor mode.
Diffstat (limited to 'cider-debug.el')
-rw-r--r-- | cider-debug.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cider-debug.el b/cider-debug.el index b44195f9..4c7310b5 100644 --- a/cider-debug.el +++ b/cider-debug.el @@ -297,6 +297,9 @@ In order to work properly, this mode must be activated by (if cider--debug-mode (if cider--debug-mode-response (nrepl-dbind-response cider--debug-mode-response (input-type) + ;; A debug session is an ongoing eval, but it's annoying to have the + ;; spinner spinning while you debug. + (spinner-stop) (setq-local tool-bar-map cider--debug-mode-tool-bar-map) (add-hook 'kill-buffer-hook #'cider--debug-quit nil 'local) (add-hook 'before-revert-hook #'cider--debug-quit nil 'local) |