Function: up-list
up-list is an interactive and byte-compiled function defined in
lisp.el.gz.
Signature
(up-list &optional ARG ESCAPE-STRINGS NO-SYNTAX-CROSSING)
Documentation
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 end of a list broken across multiple strings.
On error, location of point is unspecified.
Probably introduced at or before Emacs version 19.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/lisp.el.gz
(defun 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
end of a list broken across multiple strings.
On error, location of point is unspecified."
(interactive "^p\nd\nd")
(if up-list-function
(funcall up-list-function arg escape-strings no-syntax-crossing)
(up-list-default-function arg escape-strings no-syntax-crossing)))