Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make it look like flymake got interrupted, thus avoiding an exception.

This defadvice is a long-standing and widely-used workaround. See also
  • Loading branch information...
commit d623408421ef451f1c49d3369500dcde80da8e72 1 parent 1c67ffc
@purcell authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 flymake-coffee.el
5 flymake-coffee.el
@@ -53,5 +53,10 @@ does not alter flymake's global configuration, so function
(message "Not enabling flymake: coffee command not found")))
+(defadvice flymake-post-syntax-check (before flymake-force-check-was-interrupted)
+ (setq flymake-check-was-interrupted t))
+(ad-activate 'flymake-post-syntax-check)
(provide 'flymake-coffee)
;;; flymake-coffee.el ends here
Please sign in to comment.
Something went wrong with that request. Please try again.