From: Chris Hanson Date: Tue, 18 Feb 1992 14:09:51 +0000 (+0000) Subject: Eliminate additional (and harmful) unbinding of local variables in X-Git-Tag: 20090517-FFI~9700 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=8a4bf0a9149105f2b7b56f1d1faa9aba2f38b584;p=mit-scheme.git Eliminate additional (and harmful) unbinding of local variables in RESET-EDITOR. --- 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))