bool gc_in_progress;
-/* True means abort if try to GC.
- This is for code which is written on the assumption that
- no GC will happen, so as to verify that assumption. */
-
-bool abort_on_gc;
-
/* Number of live and free conses etc. */
static EMACS_INT total_conses, total_markers, total_symbols, total_buffers;
Lisp_Object retval = Qnil;
size_t tot_before = 0;
- if (abort_on_gc)
- emacs_abort ();
-
/* Can't GC if pure storage overflowed because we can't determine
if something is a pure object or not. */
if (pure_bytes_used_before_overflow)
struct handler *h;
immediate_quit = 0;
- abort_on_gc = 0;
if (gc_in_progress || waiting_for_input)
emacs_abort ();
VECSIZE (type), tag))
extern bool gc_in_progress;
-extern bool abort_on_gc;
extern Lisp_Object make_float (double);
extern void display_malloc_warning (void);
extern ptrdiff_t inhibit_garbage_collection (void);
but we don't want to deactivate the mark just for that.
No need for specbind, since errors deactivate the mark. */
Lisp_Object save_deactivate_mark = Vdeactivate_mark;
- bool prev_abort_on_gc = abort_on_gc;
- abort_on_gc = true;
Lisp_Object printcharfun = Vprin1_to_string_buffer;
PRINTPREPARE;
Vdeactivate_mark = save_deactivate_mark;
- abort_on_gc = prev_abort_on_gc;
return unbind_to (count, object);
}