diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-04-03 23:06:06 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-04-03 23:06:06 -0400 |
commit | ef301a56bd6a3b57e35df7b63ad1f5c087a8bb96 (patch) | |
tree | 53e804e64eefe97dbb86b6e2222bd913ac71cea4 | |
parent | 1e0ef8aeb0b7b4123d267b8ce91d7ace5ad4f0b4 (diff) | |
download | emacs.d-ef301a56bd6a3b57e35df7b63ad1f5c087a8bb96.tar.gz |
Autoload ESS for R files
-rw-r--r-- | init.el | 2 | ||||
-rw-r--r-- | lisp/init-ess.el | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -27,7 +27,7 @@ (require 'init-shell) (require 'init-haskell) (require 'init-python) -(require-package 'ess) +(require 'init-ess) (require-package 'lua-mode) (require 'init-tex) diff --git a/lisp/init-ess.el b/lisp/init-ess.el new file mode 100644 index 0000000..dfaec1d --- /dev/null +++ b/lisp/init-ess.el @@ -0,0 +1,6 @@ +(require-package 'ess) + +(autoload 'R-mode "ess-site") +(add-to-list 'auto-mode-alist '("\\.[rR]\\'" . R-mode)) + +(provide 'init-ess) |