branch: elpa/lua-mode
commit b9541cefac11e88358f25262b8b4f8cf4aed9738
Author: Leonardo Etcheverry <[email protected]>
Commit: Leonardo Etcheverry <[email protected]>
lua-send-proc is now an alias to lua-send-defun
---
lua-mode.el | 17 +----------------
1 file changed, 1 insertion(+), 16 deletions(-)
diff --git a/lua-mode.el b/lua-mode.el
index ecfa78b..ef28a04 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -1335,22 +1335,7 @@ t, otherwise return nil. BUF must exist."
(if lua-always-show
(display-buffer lua-process-buffer)))
-(defun lua-send-proc ()
- "Send proc around point to lua subprocess."
- (interactive)
- (let (beg end)
- (save-excursion
- (lua-beginning-of-proc)
- (setq beg (point))
- (lua-end-of-proc)
- (setq end (point)))
- (or (and lua-process
- (comint-check-proc lua-process-buffer))
- (lua-start-process lua-default-application))
- (comint-simple-send lua-process
- (buffer-substring beg end))
- (if lua-always-show
- (display-buffer lua-process-buffer))))
+(defalias 'lua-send-proc 'lua-send-defun)
;; FIXME: This needs work... -Bret
(defun lua-send-buffer ()