[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 9840499 2/2: mark flymake-mode as safe local variab
From: |
Sam Steingold |
Subject: |
[Emacs-diffs] master 9840499 2/2: mark flymake-mode as safe local variable when the value is nil |
Date: |
Mon, 21 Aug 2017 09:50:46 -0400 (EDT) |
branch: master
commit 9840499564c90c43b1d269154593ebe57a7cb9b0
Author: Sam Steingold <address@hidden>
Commit: Sam Steingold <address@hidden>
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 3fb1eca..69f0c77 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."