From 9840499564c90c43b1d269154593ebe57a7cb9b0 Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Mon, 21 Aug 2017 09:50:09 -0400 Subject: [PATCH] mark flymake-mode as safe local variable when the value is nil --- lisp/progmodes/flymake-ui.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/progmodes/flymake-ui.el b/lisp/progmodes/flymake-ui.el index 3fb1ecaa7f0..69f0c77a71e 100644 --- a/lisp/progmodes/flymake-ui.el +++ b/lisp/progmodes/flymake-ui.el @@ -517,6 +517,9 @@ For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'." (setq flymake-is-running nil)))) +;; disabling flymake-mode is safe, enabling - not necessarily so +(put 'flymake-mode 'safe-local-variable 'null) + ;;;###autoload (defun flymake-mode-on () "Turn flymake mode on." -- 2.39.2