Function: haskell-utils-async-stop-watching-changes
haskell-utils-async-stop-watching-changes is a natively compiled
function defined in haskell-utils.el.
Signature
(haskell-utils-async-stop-watching-changes BUFFER)
Documentation
Clean up after async operation finished.
This function takes care about cleaning up things made by
haskell-utils-async-watch-changes. The BUFFER argument is a buffer where
post-command-hook should be disabled. This is necessary, because
it is possible that user will change buffer during async function
execution.
Source Code
;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-utils.el
(defun haskell-utils-async-stop-watching-changes (buffer)
"Clean up after async operation finished.
This function takes care about cleaning up things made by
`haskell-utils-async-watch-changes'. The BUFFER argument is a buffer where
`post-command-hook' should be disabled. This is necessary, because
it is possible that user will change buffer during async function
execution."
(with-current-buffer buffer
(setq haskell-utils-async-post-command-flag nil)
(remove-hook
'post-command-hook #'haskell-utils-async-update-post-command-flag t)))