Function: lua-comment-or-string-start-pos
lua-comment-or-string-start-pos is a byte-compiled function defined in
lua-mode.el.gz.
Signature
(lua-comment-or-string-start-pos &optional POS)
Documentation
Return start position of string or comment containing point or POS.
If point is not inside string or comment, return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-mode.el.gz
(defun lua-comment-or-string-start-pos (&optional pos)
"Return start position of string or comment containing point or POS.
If point is not inside string or comment, return nil."
(save-excursion
(when pos (goto-char pos))
(or (elt (syntax-ppss pos) 8)
(lua--containing-double-hyphen-start-pos))))