From 64db2823c16e772e2567d820dd4a662c3be23b53 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 27 Oct 2000 03:13:09 +0000 Subject: [PATCH] Allow ->BUFFER to take a window as an argument. --- v7/src/edwin/buffer.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.25.1