Skip to content

Commit

Permalink
Run hooks for haskell-error-mode
Browse files Browse the repository at this point in the history
When haskell-interactive-popup-error is called, haskell-error-mode
hooks aren't running because run-hooks call is missed
  • Loading branch information
erickgnavar committed Apr 24, 2021
1 parent d771202 commit be8a7ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions haskell-interactive-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ wrapped in compiler directive at the top of FILE."
(with-current-buffer buf

(haskell-error-mode)
(run-hooks 'haskell-error-mode-hook)
(let ((inhibit-read-only t))
(erase-buffer)
(insert (propertize response
Expand Down

0 comments on commit be8a7ff

Please sign in to comment.