From 8a4bf0a9149105f2b7b56f1d1faa9aba2f38b584 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 18 Feb 1992 14:09:51 +0000 Subject: [PATCH] Eliminate additional (and harmful) unbinding of local variables in RESET-EDITOR. --- v7/src/edwin/editor.scm | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/v7/src/edwin/editor.scm b/v7/src/edwin/editor.scm index 5784af755..d8fb964ad 100644 --- a/v7/src/edwin/editor.scm +++ b/v7/src/edwin/editor.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/editor.scm,v 1.215 1992/02/17 22:00:58 cph Exp $ +;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/editor.scm,v 1.216 1992/02/18 14:09:51 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-92 Massachusetts Institute of Technology ;;; @@ -193,17 +193,6 @@ with the contents of the startup message." (lambda () (if edwin-editor (begin - ;; Restore the default bindings of all of the local - ;; variables in the current buffer. - (let ((buffer - (window-buffer - (screen-selected-window - (editor-selected-screen edwin-editor))))) - (for-each (lambda (binding) - (%%set-variable-value! (car binding) - (cdr binding))) - (buffer-local-bindings buffer)) - (vector-set! buffer buffer-index:local-bindings '())) (for-each (lambda (screen) (screen-discard! screen)) (editor-screens edwin-editor)) -- 2.25.1