Function: lua-comment-or-string-p

lua-comment-or-string-p is a byte-compiled function defined in lua-mode.el.gz.

Signature

(lua-comment-or-string-p &optional POS)

Documentation

Return non-nil if point or POS is in a comment or string.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/lua-mode.el.gz
(defun lua-comment-or-string-p (&optional pos)
  "Return non-nil if point or POS is in a comment or string."
  (save-excursion
    (let ((parse-result (syntax-ppss pos)))
      (or (elt parse-result 3) (lua-comment-start-pos parse-result)))))