Function: edebug-forward-sexp

edebug-forward-sexp is an interactive and byte-compiled function defined in edebug.el.gz.

Signature

(edebug-forward-sexp ARG)

Documentation

Proceed from the current point to the end of the ARGth sexp ahead.

If there are not ARG sexps ahead, then do edebug-step-out.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/edebug.el.gz
(defun edebug-forward-sexp (arg)
  "Proceed from the current point to the end of the ARGth sexp ahead.
If there are not ARG sexps ahead, then do `edebug-step-out'."
  (interactive "p")
  (condition-case nil
      (let ((parse-sexp-ignore-comments t))
	;; Call forward-sexp repeatedly until done or failure.
	(forward-sexp arg)
	(edebug-go-mode t))
    (error
     (edebug-step-out)
     )))