Function: thing-at-point--end-of-sexp
thing-at-point--end-of-sexp is a byte-compiled function defined in
thingatpt.el.gz.
Signature
(thing-at-point--end-of-sexp)
Documentation
Move point to the end of the current sexp.
Aliases
end-of-sexp (obsolete since 25.1)
Source Code
;; Defined in /usr/src/emacs/lisp/thingatpt.el.gz
;; Sexps
(defun thing-at-point--end-of-sexp ()
"Move point to the end of the current sexp."
(let ((char-syntax (syntax-after (point))))
(if (or (eq char-syntax ?\))
(and (eq char-syntax ?\") (nth 3 (syntax-ppss))))
(forward-char 1)
(condition-case _
(forward-sexp 1)
(scan-error nil)))))