summaryrefslogtreecommitdiff
path: root/app-emacs/lua-mode/files/50lua-mode-gentoo.el
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/lua-mode/files/50lua-mode-gentoo.el')
-rw-r--r--app-emacs/lua-mode/files/50lua-mode-gentoo.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-emacs/lua-mode/files/50lua-mode-gentoo.el b/app-emacs/lua-mode/files/50lua-mode-gentoo.el
new file mode 100644
index 000000000000..b1385e489c8d
--- /dev/null
+++ b/app-emacs/lua-mode/files/50lua-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'lua-mode "lua-mode" "Mode for editing Lua scripts" t)
+(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-mode))
+(setq lua-default-application "/usr/bin/lua")