Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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.
  • Loading branch information...
commit f3ce01e39623ece347154565b29b317945628940 1 parent 2acb76e
@purcell authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 flymake-haml.el
View
5 flymake-haml.el
@@ -44,5 +44,10 @@ does not alter flymake's global configuration, so function
(message "Not enabling flymake: haml 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-haml)
;;; flymake-haml.el ends here
Please sign in to comment.
Something went wrong with that request. Please try again.