emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/haskell-mode 3814b0b0ba 4/5: Merge pull request #1809 from


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-mode 3814b0b0ba 4/5: Merge pull request #1809 from mobid/bufix/debug-macro
Date: Thu, 13 Jul 2023 04:00:18 -0400 (EDT)

branch: elpa/haskell-mode
commit 3814b0b0bae0fde9985496b59811ce4a6bd0f883
Merge: 41c0cf6159 fab109726b
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>

    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!")))
 
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]