From: Chris Hanson Date: Mon, 21 Jul 1997 04:34:58 +0000 (+0000) Subject: Fix bug: auto-save initialization was not looking for a local binding X-Git-Tag: 20090517-FFI~5039 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=3e7e1ecf675d36f596be26c4a2dfe01f1024d9ef;p=mit-scheme.git Fix bug: auto-save initialization was not looking for a local binding of the variable auto-save-default. --- diff --git a/v7/src/edwin/autosv.scm b/v7/src/edwin/autosv.scm index 4d9f8c325..bb16e3e33 100644 --- a/v7/src/edwin/autosv.scm +++ b/v7/src/edwin/autosv.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: autosv.scm,v 1.31 1997/01/03 04:06:40 cph Exp $ +;;; $Id: autosv.scm,v 1.32 1997/07/21 04:34:58 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-97 Massachusetts Institute of Technology ;;; @@ -98,7 +98,7 @@ This file is not the file you visited; that changes only when you save." (lambda () (do-auto-save))) (define (setup-buffer-auto-save! buffer) - (if (ref-variable auto-save-default) + (if (ref-variable auto-save-default buffer) (enable-buffer-auto-save! buffer) (disable-buffer-auto-save! buffer)))