branch: elpa/lua-mode
commit 530aa9fcb7eae545435e370007dc06c992278653
Merge: 445bad6 ca24f4c
Author: dennis again <[email protected]>
Commit: dennis again <[email protected]>
Merge pull request #97 from marsam/master
Add `run-lua` alias
---
lua-mode.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lua-mode.el b/lua-mode.el
index 8cee299..abe91f5 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -1667,6 +1667,10 @@ This function just searches for a `end' at the beginning
of a line."
(replace-match "\\\\\\&" t)))
(concat "'" (buffer-string) "'"))))
+;;;###autoload
+(defalias 'run-lua #'lua-start-process)
+
+;;;###autoload
(defun lua-start-process (&optional name program startfile &rest switches)
"Start a lua process named NAME, running PROGRAM.
PROGRAM defaults to NAME, which defaults to `lua-default-application'.