From: Chris Hanson Date: Fri, 6 Jan 1995 17:47:23 +0000 (+0000) Subject: Fix problem with init-file loading: if the init file deletes the X-Git-Tag: 20090517-FFI~6795 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=dc4cef645a5e47ecc5cb9ac96b3cbda5075151e0;p=mit-scheme.git Fix problem with init-file loading: if the init file deletes the initial buffer or sets an inhibition flag, don't start the inferior REPL. --- diff --git a/v7/src/edwin/editor.scm b/v7/src/edwin/editor.scm index 0ab19abed..1c6ed9cbd 100644 --- a/v7/src/edwin/editor.scm +++ b/v7/src/edwin/editor.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: editor.scm,v 1.239 1995/01/06 17:47:09 cph Exp $ +;;; $Id: editor.scm,v 1.240 1995/01/06 17:47:23 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-95 Massachusetts Institute of Technology ;;; @@ -197,7 +197,7 @@ (if (and buffer (not inhibit-initial-inferior-repl?)) (start-inferior-repl! - (current-buffer) + buffer (nearest-repl/environment) (nearest-repl/syntax-table) (and (not (ref-variable inhibit-startup-message))