summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-04-23 21:52:42 -0400
committerKyle Meyer <kyle@kyleam.com>2014-04-23 21:52:42 -0400
commitd474ed8d61b1b0b8b115319a7d6fa1104e6322f8 (patch)
tree7ab7876f213490a6a07fd5cfd16aab83db2bedc0 /lisp
parentced11936f1f7667b6ec76530e923736046322550 (diff)
downloademacs.d-d474ed8d61b1b0b8b115319a7d6fa1104e6322f8.tar.gz
Disable flymake in stan-mode
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-stan.el9
1 files changed, 9 insertions, 0 deletions
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)