Skip to content

Commit 3814b0b

Browse files
authored
Merge pull request #1809 from mobid/bufix/debug-macro
debugger: macro bugfix
2 parents 41c0cf6 + fab1097 commit 3814b0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

haskell-debug.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@
100100
(defmacro haskell-debug-with-breakpoints (&rest body)
101101
"Breakpoints need to exist to start stepping."
102102
`(if (haskell-debug-get-breakpoints)
103-
,@body
103+
(progn ,@body)
104104
(error "No breakpoints to step into!")))
105105

106106
(defmacro haskell-debug-with-modules (&rest body)
107107
"Modules need to exist to do debugging stuff."
108108
`(if (haskell-debug-get-modules)
109-
,@body
109+
(progn ,@body)
110110
(error "No modules loaded!")))
111111

112112
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

0 commit comments

Comments
 (0)