branch: elpa/haskell-mode
commit fab109726b57d7ff2e034fff810500ca727b997b
Author: Matija Obid <matija.o...@posteo.net>
Commit: Matija Obid <matija.o...@posteo.net>

    macros: only first statemenet was in if
---
 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!")))
 
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Reply via email to