branch: elpa/haskell-mode
commit 3814b0b0bae0fde9985496b59811ce4a6bd0f883
Merge: 41c0cf6159 fab109726b
Author: Steve Purcell <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #1809 from mobid/bufix/debug-macro
debugger: macro bugfix
---
haskell-debug.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/haskell-debug.el b/haskell-debug.el
index 3e73c06379..9981f154da 100644
--- a/haskell-debug.el
+++ b/haskell-debug.el
@@ -100,13 +100,13 @@
(defmacro haskell-debug-with-breakpoints (&rest body)
"Breakpoints need to exist to start stepping."
`(if (haskell-debug-get-breakpoints)
- ,@body
+ (progn ,@body)
(error "No breakpoints to step into!")))
(defmacro haskell-debug-with-modules (&rest body)
"Modules need to exist to do debugging stuff."
`(if (haskell-debug-get-modules)
- ,@body
+ (progn ,@body)
(error "No modules loaded!")))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;