From e11dacb57703fb8044332d8a3933b815547911ec Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 20 Feb 2013 16:02:37 -0500 Subject: [PATCH] * src/sheap.c (report_sheap_usage): Prefer message1_nolog. --- src/ChangeLog | 2 ++ src/sheap.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 9423484c656..d39336f11e6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2013-02-20 Stefan Monnier + * 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. diff --git a/src/sheap.c b/src/sheap.c index 9e6b7fb1cf1..28597ec9b65 100644 --- a/src/sheap.c +++ b/src/sheap.c @@ -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); } -- 2.11.4.GIT