haskell-mode
haskell-mode copied to clipboard
Run hooks for haskell-error-mode
When haskell-interactive-popup-error
is called, haskell-error-mode
hooks aren't running because run-hooks
call is missed
Isn't this because the hook variable name produced by the define-minor-mode
form is haskell-error-mode-hook
, without a trailing s
?
Isn't this because the hook variable name produced by the
define-minor-mode
form ishaskell-error-mode-hook
, without a trailings
?
The code I'm adding is without the trailing s
as you can see
(run-hooks 'haskell-error-mode-hook)
Maybe there was a confusion with the PR's description 🤔
Oh, sorry if I got confused. But in any case, the expanded definition of haskell-error-mode
includes code to run that hook, so I'd like to understand why that didn't seem to be working for you.