up-list

up-list is an interactive compiled Lisp function in `lisp.el'.


(up-list &optional ARG ESCAPE-STRINGS NO-SYNTAX-CROSSING)

Move forward out of one level of parentheses.
This command will also work on other parentheses-like expressions
defined by the current language mode. With ARG, do this that
many times. A negative argument means move backward but still to
a less deep spot. If ESCAPE-STRINGS is non-nil (as it is
interactively), move out of enclosing strings as well. If
NO-SYNTAX-CROSSING is non-nil (as it is interactively), prefer to
break out of any enclosing string instead of moving to the start
of a list broken across multiple strings. On error, location of
point is unspecified.