diff --git a/code/sysmacs.lisp b/code/sysmacs.lisp index ba514f065457cf3665f1edcbe7ee03d9ce14bf40..9ec1b2964bf2ae324bed6fb628ceb9e1a7baa41e 100644 --- a/code/sysmacs.lisp +++ b/code/sysmacs.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sysmacs.lisp,v 1.12 1993/02/26 08:26:19 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/sysmacs.lisp,v 1.13 1993/05/20 13:43:21 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -53,7 +53,7 @@ (declare (ignorable ,offset-var)) ,@forms))) - +#-gengc (defmacro without-gcing (&rest body) "Executes the forms in the body without doing a garbage collection." `(unwind-protect @@ -62,6 +62,11 @@ (when (and *need-to-collect-garbage* (not *gc-inhibit*)) (maybe-gc nil)))) +#+gengc +(defmacro without-gcing (&rest body) + "Executes the forms in the body without doing a garbage collection." + `(without-interrupts ,@body)) + (defvar hi::*in-the-editor* nil) (defmacro without-hemlock (&body body)