From feeeba994bdbfd671cdd3a9b88412388944005d4 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 5 Oct 1993 07:40:59 +0000 Subject: [PATCH] Fix think-o: argument to SET-VISITED-PATHNAME might be #F. --- v7/src/edwin/filcom.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/edwin/filcom.scm b/v7/src/edwin/filcom.scm index 25ee58a47..3b913fe86 100644 --- a/v7/src/edwin/filcom.scm +++ b/v7/src/edwin/filcom.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: filcom.scm,v 1.176 1993/09/08 19:50:18 cph Exp $ +;;; $Id: filcom.scm,v 1.177 1993/10/05 07:40:59 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-93 Massachusetts Institute of Technology ;;; @@ -476,7 +476,7 @@ if you wish to make buffer not be visiting any file." pathname))))) (define (set-visited-pathname buffer pathname) - (if (not (pathname-name pathname)) + (if (and pathname (not (pathname-name pathname))) (editor-error "File name cannot be a directory: " (->namestring pathname))) (set-buffer-pathname! buffer pathname) -- 2.25.1