Function: c-go-up-list-forward

c-go-up-list-forward is a macro defined in cc-defs.el.gz.

Signature

(c-go-up-list-forward &optional POS LIMIT)

Documentation

Move the point to the first position after the list sexp containing POS, or containing the point if POS is left out. Return t if such a position exists, otherwise nil is returned and the point isn't moved.

A limit for the search may be given. The start position is assumed to be before it.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-defs.el.gz
(defmacro c-go-up-list-forward (&optional pos limit)
  "Move the point to the first position after the list sexp containing POS,
or containing the point if POS is left out.  Return t if such a
position exists, otherwise nil is returned and the point isn't moved.

A limit for the search may be given.  The start position is assumed to
be before it."
  (declare (debug t))
  `(let ((dest (c-up-list-forward ,pos ,limit)))
     (when dest (goto-char dest) t)))