summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-10-02 01:58:30 -0400
committerKyle Meyer <kyle@kyleam.com>2014-10-02 01:58:30 -0400
commitb23504f56199633243cf758d1f24bb3dde9af28d (patch)
tree3afc25be32169840525990c31bf5c46aef63549b
parent35a1a360cb60b327d6ae5e6d2972be2bca7c3c1a (diff)
downloademacs.d-b23504f56199633243cf758d1f24bb3dde9af28d.tar.gz
Remove outdated work-around from Stan setup
Upstream no longer adds flymake to the mode hook (94f846c).
-rw-r--r--init.el2
-rw-r--r--lisp/init-stan.el9
2 files changed, 1 insertions, 10 deletions
diff --git a/init.el b/init.el
index 36dfccd..3eb1f9e 100644
--- a/init.el
+++ b/init.el
@@ -33,7 +33,7 @@
(require 'init-haskell)
(require 'init-python)
(require 'init-ess)
-(require 'init-stan)
+(require-package 'stan-mode)
(require-package 'lua-mode)
(require 'init-tex)
diff --git a/lisp/init-stan.el b/lisp/init-stan.el
deleted file mode 100644
index 16f427c..0000000
--- a/lisp/init-stan.el
+++ /dev/null
@@ -1,9 +0,0 @@
-(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)