From d474ed8d61b1b0b8b115319a7d6fa1104e6322f8 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 23 Apr 2014 21:52:42 -0400 Subject: Disable flymake in stan-mode --- lisp/init-stan.el | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lisp/init-stan.el (limited to 'lisp/init-stan.el') diff --git a/lisp/init-stan.el b/lisp/init-stan.el new file mode 100644 index 0000000..16f427c --- /dev/null +++ b/lisp/init-stan.el @@ -0,0 +1,9 @@ +(require-package 'stan-mode) +(require 'stan-mode) + +;; Remove the anonymous function that activates flymake. This is not a +;; good solution because it will likely break when this hook is +;; modified, but I don't see a stan-mode variable to disable flymake. +(remove-hook 'stan-mode-hook (car (last stan-mode-hook))) + +(provide 'init-stan) -- cgit v1.2.3