Function: gud-prev-expr
gud-prev-expr is a byte-compiled function defined in gud.el.gz.
Signature
(gud-prev-expr)
Documentation
Return the previous expr, point is set to beginning of that expr.
The expr is represented as a cons cell, where the car specifies the point in the current buffer that marks the beginning of the expr and the cdr specifies the character after the end of the expr.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
(defun gud-prev-expr ()
"Return the previous expr, point is set to beginning of that expr.
The expr is represented as a cons cell, where the car specifies the point in
the current buffer that marks the beginning of the expr and the cdr specifies
the character after the end of the expr."
(let ((begin) (end))
(gud-backward-sexp)
(setq begin (point))
(gud-forward-sexp)
(setq end (point))
(goto-char begin)
(cons begin end)))