summaryrefslogtreecommitdiff
path: root/lisp/progmodes/flymake.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/flymake.el')
-rw-r--r--lisp/progmodes/flymake.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index e833cd949ee..0d200f01b34 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -407,6 +407,8 @@ Currently accepted REPORT-KEY arguments are:
* `:force': value should be a boolean suggesting that Flymake
consider the report even if it was somehow unexpected.")
+(put 'flymake-diagnostic-functions 'safe-local-variable #'null)
+
(defvar flymake-diagnostic-types-alist
`((:error
. ((flymake-category . flymake-error)))