Function: lua-send-string

lua-send-string is a byte-compiled function defined in lua-mode.el.gz.

Signature

(lua-send-string STR)

Documentation

Send STR plus a newline to the Lua process.

If lua-process is nil or dead, start a new process first.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/lua-mode.el.gz
(defun lua-send-string (str)
  "Send STR plus a newline to the Lua process.

If `lua-process' is nil or dead, start a new process first."
  (unless (string-equal (substring str -1) "\n")
    (setq str (concat str "\n")))
  (process-send-string (lua-get-create-process) str))