Commit e11dacb5 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* src/sheap.c (report_sheap_usage): Prefer message1_nolog.

parent b6c2bfff
2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
 
* sheap.c (report_sheap_usage): Prefer message1_nolog.
* keyboard.c (Qcommand_execute): New var.
(command_loop_1, read_char): Use it.
(Fcommand_execute): Remove, replace by an Elisp implementation.
......
......@@ -91,8 +91,7 @@ report_sheap_usage (int die_if_pure_storage_exceeded)
char buf[200];
sprintf (buf, "Static heap usage: %d of %d bytes",
bss_sbrk_ptr - bss_sbrk_buffer, STATIC_HEAP_SIZE);
/* Don't change this call to message1! message1 can log
messages, and at this point, we're not allowed to create
/* Don't log messages, cause at this point, we're not allowed to create
buffers. */
message ("%s", buf);
message1_nolog ("%s", buf);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment