Function: lua-first-token-continues-p
lua-first-token-continues-p is a byte-compiled function defined in
lua-mode.el.gz.
Signature
(lua-first-token-continues-p)
Documentation
Return non-nil if the first token on this line is a continuation token.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-mode.el.gz
(defun lua-first-token-continues-p ()
"Return non-nil if the first token on this line is a continuation token."
(let ((line-end (line-end-position)))
(save-excursion
(beginning-of-line)
(lua-skip-ws-and-comments-forward line-end)
;; If first character of the line is inside string, it's a
;; continuation if strings aren't supposed to be indented,
;; `lua-calculate-indentation' won't even let the control inside
;; this function
(and
(re-search-forward lua-cont-bol-regexp line-end t)
(or (match-beginning 1)
(match-beginning 2))))))