Skip to content

Commit 11b255b

Browse files
committed
Merge pull request #1124 from issue-dispenser/debug
Use condition-case-unless-debug
2 parents 94ed3b7 + b6e0187 commit 11b255b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

haskell-load.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ actual Emacs buffer of the module being loaded."
123123
(haskell-mode-message-line (if reload "Reloaded OK." "OK."))
124124
(haskell-interactive-mode-compile-error session "Compilation failed."))
125125
(when cont
126-
(condition-case e
126+
(condition-case-unless-debug e
127127
(funcall cont ok)
128128
(error (message "%S" e))
129129
(quit nil)))))

haskell-process.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ function and remove this comment.
485485
"Call the command's complete function."
486486
(let ((comp-func (haskell-command-complete command)))
487487
(when comp-func
488-
(condition-case e
488+
(condition-case-unless-debug e
489489
(funcall comp-func
490490
(haskell-command-state command)
491491
response)

0 commit comments

Comments
 (0)