Function: backward-sexp
backward-sexp is an interactive and byte-compiled function defined in
lisp.el.gz.
Signature
(backward-sexp &optional ARG INTERACTIVE)
Documentation
Move backward across one balanced expression (sexp).
With ARG, do it that many times. Negative arg -N means
move forward across N balanced expressions.
This command assumes point is not in a string or comment.
Uses forward-sexp to do the work.
If INTERACTIVE is non-nil, as it is interactively,
report errors as appropriate for this kind of usage.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/lisp.el.gz
(defun backward-sexp (&optional arg interactive)
"Move backward across one balanced expression (sexp).
With ARG, do it that many times. Negative arg -N means
move forward across N balanced expressions.
This command assumes point is not in a string or comment.
Uses `forward-sexp' to do the work.
If INTERACTIVE is non-nil, as it is interactively,
report errors as appropriate for this kind of usage."
(interactive "^p\nd")
(or arg (setq arg 1))
(forward-sexp (- arg) interactive))