summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-04-03 23:06:06 -0400
committerKyle Meyer <kyle@kyleam.com>2014-04-03 23:06:06 -0400
commitef301a56bd6a3b57e35df7b63ad1f5c087a8bb96 (patch)
tree53e804e64eefe97dbb86b6e2222bd913ac71cea4 /lisp
parent1e0ef8aeb0b7b4123d267b8ce91d7ace5ad4f0b4 (diff)
downloademacs.d-ef301a56bd6a3b57e35df7b63ad1f5c087a8bb96.tar.gz
Autoload ESS for R files
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-ess.el6
1 files changed, 6 insertions, 0 deletions
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)