From: Chris Hanson Date: Fri, 27 Oct 2000 03:13:09 +0000 (+0000) Subject: Allow ->BUFFER to take a window as an argument. X-Git-Tag: 20090517-FFI~3210 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=64db2823c16e772e2567d820dd4a662c3be23b53;p=mit-scheme.git Allow ->BUFFER to take a window as an argument. --- diff --git a/v7/src/edwin/buffer.scm b/v7/src/edwin/buffer.scm index 56c04bb0d..26c7a68b1 100644 --- a/v7/src/edwin/buffer.scm +++ b/v7/src/edwin/buffer.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: buffer.scm,v 1.177 2000/03/25 20:34:54 cph Exp $ +;;; $Id: buffer.scm,v 1.178 2000/10/27 03:13:09 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-2000 Massachusetts Institute of Technology ;;; @@ -236,6 +236,7 @@ The buffer is guaranteed to be deselected at that time." (cond ((buffer? object) object) ((and (mark? object) (mark-buffer object))) ((and (group? object) (group-buffer object))) + ((window? object) (window-buffer object)) (else (error "can't coerce to buffer:" object)))) ;;;; Modification Flags