From 77440c33053fd35d044d6e8e5e7bd5a7387975d2 Mon Sep 17 00:00:00 2001 From: Erick Navarro Date: Sat, 24 Apr 2021 12:09:18 -0500 Subject: [PATCH] Run hooks for haskell-compilation-mode When haskell-interactive-popup-error is called, haskell-error-mode hooks aren't running because run-hooks call is missed --- haskell-interactive-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/haskell-interactive-mode.el b/haskell-interactive-mode.el index 86168671..8806f072 100644 --- a/haskell-interactive-mode.el +++ b/haskell-interactive-mode.el @@ -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