[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master aeaabd3 42/45: hydra.el (defhydra): Re-throw a caught erro
From: |
Oleh Krehel |
Subject: |
[elpa] master aeaabd3 42/45: hydra.el (defhydra): Re-throw a caught error when debug-on-error |
Date: |
Thu, 16 Apr 2015 12:45:57 +0000 |
branch: master
commit aeaabd3c8a76920e839ce05add7278e575f201e6
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
hydra.el (defhydra): Re-throw a caught error when debug-on-error
* hydra.el (defhydra): Update.
---
hydra.el | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/hydra.el b/hydra.el
index d81ac2a..50eb901 100644
--- a/hydra.el
+++ b/hydra.el
@@ -941,7 +941,9 @@ result of `defhydra'."
(or body-body-pre body-pre) body-before-exit
'(setq prefix-arg current-prefix-arg)))))
(error
- (message "Error in defhydra %S: %s" name (cdr err))
+ (if debug-on-error
+ (signal (car err) (cdr err))
+ (message "Error in defhydra %S: %s" name (cdr err)))
nil)))
(defmacro defhydradio (name _body &rest heads)
- [elpa] master 684f8a2 39/45: Add integration test for red hydras temporarily exiting, (continued)
- [elpa] master 684f8a2 39/45: Add integration test for red hydras temporarily exiting, Oleh Krehel, 2015/04/16
- [elpa] master d3d435d 25/45: Finalize head inheritance, Oleh Krehel, 2015/04/16
- [elpa] master b2c9ea6 36/45: README.md: Update intro, Oleh Krehel, 2015/04/16
- [elpa] master d678cc0 34/45: Work around `overriding-terminal-local-map' being terminal-local, Oleh Krehel, 2015/04/16
- [elpa] master d6e00ed 33/45: README.md: Add video demo link, Oleh Krehel, 2015/04/16
- [elpa] master 97c9b9b 32/45: Move `this-command' setter, Oleh Krehel, 2015/04/16
- [elpa] master 60ce256 41/45: Add an idle message timeout option, Oleh Krehel, 2015/04/16
- [elpa] master 99b2aea 35/45: hydra.el (hydra--format): Match alnum for the "_..._" syntax, Oleh Krehel, 2015/04/16
- [elpa] master f01c87e 38/45: Fix red heads not exiting temporarily, Oleh Krehel, 2015/04/16
- [elpa] master f972634 45/45: Merge commit '742d66a63e86ac740e610faa5abba97e7f8ad5c2' from hydra, Oleh Krehel, 2015/04/16
- [elpa] master aeaabd3 42/45: hydra.el (defhydra): Re-throw a caught error when debug-on-error,
Oleh Krehel <=
- [elpa] master 742d66a 44/45: hydra.el: Bump version, Oleh Krehel, 2015/04/16
- [elpa] master 09b63b5 43/45: Don't re-activate key chords too early, Oleh Krehel, 2015/04/16
- [elpa] master cab5a73 37/45: README.md: Update `hydra-zoom/body', Oleh Krehel, 2015/04/16
- [elpa] master 00aef59 40/45: hydra.el (hydra--format): Fix "s-t" issue, Oleh Krehel, 2015/04/16