Function: edebug-update-eval-list
edebug-update-eval-list is an interactive and byte-compiled function
defined in edebug.el.gz.
Signature
(edebug-update-eval-list)
Documentation
Replace the evaluation list with the sexps now in the eval buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/edebug.el.gz
(defun edebug-update-eval-list ()
"Replace the evaluation list with the sexps now in the eval buffer."
(interactive)
(let ((starting-point (point))
new-list)
(goto-char (point-min))
;; get the first expression
(edebug-skip-whitespace)
(if (not (eobp))
(progn
(forward-sexp 1)
(push (edebug-last-sexp) new-list)))
(while (re-search-forward "^;" nil t)
(forward-line 1)
(skip-chars-forward " \t\n\r")
(if (and (/= ?\; (following-char))
(not (eobp)))
(progn
(forward-sexp 1)
(push (edebug-last-sexp) new-list))))
(setq edebug-eval-list (nreverse new-list))
(edebug-eval-redisplay)
(goto-char starting-point)))