Function: lua--escape-from-string
lua--escape-from-string is an interactive and byte-compiled function
defined in lua-mode.el.gz.
Signature
(lua--escape-from-string &optional BACKWARD)
Documentation
Move point outside of string if it is inside one.
By default, point is placed after the string, with BACKWARD it is placed before the string.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-mode.el.gz
(defun lua--escape-from-string (&optional backward)
"Move point outside of string if it is inside one.
By default, point is placed after the string, with BACKWARD it is placed
before the string."
(interactive)
(let ((parse-state (syntax-ppss)))
(when (nth 3 parse-state)
(if backward
(goto-char (nth 8 parse-state))
(parse-partial-sexp
(point) (line-end-position) nil nil (syntax-ppss) 'syntax-table))
t)))