summaryrefslogtreecommitdiff
path: root/app-emacs/rust-mode/files/50rust-mode-gentoo.el
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/rust-mode/files/50rust-mode-gentoo.el')
-rw-r--r--app-emacs/rust-mode/files/50rust-mode-gentoo.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/app-emacs/rust-mode/files/50rust-mode-gentoo.el b/app-emacs/rust-mode/files/50rust-mode-gentoo.el
new file mode 100644
index 0000000..0df9379
--- /dev/null
+++ b/app-emacs/rust-mode/files/50rust-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'rust-mode "rust-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))