summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/javascript/files/50javascript-gentoo.el')
-rw-r--r--app-emacs/javascript/files/50javascript-gentoo.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-emacs/javascript/files/50javascript-gentoo.el b/app-emacs/javascript/files/50javascript-gentoo.el
new file mode 100644
index 000000000000..b533cd4c1a2c
--- /dev/null
+++ b/app-emacs/javascript/files/50javascript-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'javascript-mode "javascript"
+ "Major mode for editing JavaScript source text." t)
+(add-to-list 'auto-mode-alist '("\\.js\\'" . javascript-mode))