Skip to content

HTTPS clone URL

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.
  • Loading branch information...
commit ff6f675573e325cf04b157d726fb6d546e58754a 1 parent 21c2b29
@purcell authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 flymake-css.el
View
5 flymake-css.el
@@ -67,5 +67,10 @@ function `flymake-mode' alone will not suffice."
(message "Not enabling flymake: csslint 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-css)
;;; flymake-css.el ends here
Please sign in to comment.
Something went wrong with that request. Please try again.