branch: elpa/lua-mode
commit 3367502fc1bddb78f33a7ccc833a92e7285d9bba
Merge: d6232fe e9a17ba
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>

    Merge pull request #7 from rlph/master
    
    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