branch: elpa/lua-mode
commit e9a17ba4dddc949e9783c97c97fa86ab550be5f3
Author: Rafael Sanchez <[email protected]>
Commit: Rafael Sanchez <[email protected]>

    Added autoload for (add-to-list 'interpreter-mode-alist '("lua" . lua-mode))
---
 lua-mode.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lua-mode.el b/lua-mode.el
index 71bb5b0..1947a97 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -375,6 +375,9 @@ The following keys are bound:
 ;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
 
+;;;###autoload
+(add-to-list 'interpreter-mode-alist '("lua" . lua-mode))
+
 (defun lua-electric-match (arg)
   "Insert character and adjust indentation."
   (interactive "P")

Reply via email to