From: Chris Hanson Date: Wed, 22 Dec 1999 20:33:07 +0000 (+0000) Subject: In M-x inferior-repl-flush-output, don't skip forward over newline at X-Git-Tag: 20090517-FFI~4391 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=77308932f288a5d261a012d1e50555b8aa4c0f68;p=mit-scheme.git In M-x inferior-repl-flush-output, don't skip forward over newline at end of input expression if end marker is at line start. --- diff --git a/v7/src/edwin/intmod.scm b/v7/src/edwin/intmod.scm index 856813021..026ad5d45 100644 --- a/v7/src/edwin/intmod.scm +++ b/v7/src/edwin/intmod.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: intmod.scm,v 1.107 1999/12/20 23:18:28 cph Exp $ +;;; $Id: intmod.scm,v 1.108 1999/12/22 20:33:07 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-1999 Massachusetts Institute of Technology ;;; @@ -625,7 +625,8 @@ If this is an error, the debugger examines the error condition." (lambda () (let ((start (let ((start (ref-variable comint-last-input-end))) - (if (eqv? #\newline (extract-right-char start)) + (if (and (not (line-start? start)) + (eqv? #\newline (extract-right-char start))) (mark1+ start) start))) (end (port/mark (buffer-interface-port (selected-buffer) #t))))