clears the last input as well; is this intentional?
There's probably a better way with properties or markers, but here's what I mean:
--- slime.el.~1.352.~ Wed Jun 30 23:12:30 2004 +++ slime.el Fri Jul 2 12:22:26 2004 @@ -2428,6 +2428,8 @@ (interactive) (let ((start (save-excursion (slime-repl-previous-prompt) + (forward-sexp) + (forward-line) (point))) (end (1- (slime-repl-input-line-beginning-position)))) (when (< start end)
Andras
Andras Simon andras@renyi.hu writes:
clears the last input as well; is this intentional?
There's probably a better way with properties or markers, but here's what I mean:
Applied. I threw in an `ignore-errors' just in case the previous input wasn't readable by the Elisp reader.
-Luke