From 3e7e1ecf675d36f596be26c4a2dfe01f1024d9ef Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 21 Jul 1997 04:34:58 +0000 Subject: [PATCH] Fix bug: auto-save initialization was not looking for a local binding of the variable auto-save-default. --- v7/src/edwin/autosv.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))) -- 2.25.1