From: Sam Steingold Date: Mon, 21 Aug 2017 13:50:09 +0000 (-0400) Subject: mark flymake-mode as safe local variable when the value is nil X-Git-Tag: emacs-26.0.90~386 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9840499564c90c43b1d269154593ebe57a7cb9b0;p=emacs.git mark flymake-mode as safe local variable when the value is nil --- 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."