13 lines
388 B
EmacsLisp
13 lines
388 B
EmacsLisp
;;==============================================================================
|
|
;; Lua
|
|
;;==============================================================================
|
|
|
|
(defvaralias 'lua-indent-level 'tab-width)
|
|
|
|
(add-hook-and-eval
|
|
'lua-mode-hook
|
|
(lambda ()
|
|
(set (make-local-variable 'compile-command) (concat "lua " (shell-quote-argument buffer-file-name)))))
|
|
|
|
(provide 'mode-lua)
|