diff --git a/hemlock/lispeval.lisp b/hemlock/lispeval.lisp index bc3ef3f84308c32192409b8e564365f5421ffce0..b79d8ae1661cce5bed2cca8ebb00e4eba5c86c12 100644 --- a/hemlock/lispeval.lisp +++ b/hemlock/lispeval.lisp @@ -173,7 +173,8 @@ (:compile (note-region note)) (:compile-file - (buffer-region (note-buffer note))) + (let ((buff (note-buffer note))) + (and buff (buffer-region buff)))) (t (error "Compiler error in ~S?" note))))) (when region