From f95db22f880d10b7300f9a55ed6aaa4063daf5bd Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Tue, 14 Jan 1992 14:25:49 +0000 Subject: [PATCH] Don't call NAMESTRING on NIL in REGION-COMPILE. --- hemlock/lispeval.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hemlock/lispeval.lisp b/hemlock/lispeval.lisp index 59b8d9681..7bec7f585 100644 --- a/hemlock/lispeval.lisp +++ b/hemlock/lispeval.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/lispeval.lisp,v 1.1.1.8 1991/11/12 01:14:36 chiles Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/lispeval.lisp,v 1.1.1.9 1992/01/14 14:25:49 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -329,8 +329,8 @@ (let* ((region (region (copy-mark (region-start region) :left-inserting) (copy-mark (region-end region) :left-inserting))) (buf (line-buffer (mark-line (region-start region)))) - (defined-from (and buf - (namestring (buffer-pathname buf))))) + (pn (and buf (buffer-pathname buf))) + (defined-from (if pn (namestring pn) "unknown"))) (queue-note (make-note :kind :compile :context (region-context region "compilation") :buffer (and region -- GitLab