Don't eat stacks in backtraces in debug mode

The error handlers were a little too effective. They obscured a large
chunk of the stacktrace after errors, even in debug mode. This fixes
that and ensures backtraces in debug mode are more helpful.
This commit is contained in:
Henrik Lissner 2018-06-18 17:14:17 +02:00
parent ca2c8b5a45
commit 4685eddb66
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 11 additions and 8 deletions

View file

@ -21,11 +21,11 @@ already there)."
;;;###autoload (autoload '+eshell:run "emacs/eshell/autoload/evil" nil t)
(evil-define-command +eshell:run (command bang)
;; TODO Add COMMAND support
"TODO"
(interactive "<fsh><!>")
(if bang
(+eshell/open command)
(+eshell/open-popup command)))
(+eshell/open nil command)
(+eshell/open-popup nil command)))
;;;###autoload (autoload '+eshell/evil-change "emacs/eshell/autoload/evil" nil t)
(evil-define-operator +eshell/evil-change (beg end type register yank-handler delete-func)