diff options
| author | Stefan Monnier | 2013-02-20 16:02:37 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-02-20 16:02:37 -0500 |
| commit | e11dacb57703fb8044332d8a3933b815547911ec (patch) | |
| tree | 8251ed1f39f821f044f318e9c4b9d6675a67c882 /src | |
| parent | b6c2bfff02239197fc855c0575def855afab01c7 (diff) | |
| download | emacs-e11dacb57703fb8044332d8a3933b815547911ec.tar.gz emacs-e11dacb57703fb8044332d8a3933b815547911ec.zip | |
* src/sheap.c (report_sheap_usage): Prefer message1_nolog.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * sheap.c (report_sheap_usage): Prefer message1_nolog. | ||
| 4 | |||
| 3 | * keyboard.c (Qcommand_execute): New var. | 5 | * keyboard.c (Qcommand_execute): New var. |
| 4 | (command_loop_1, read_char): Use it. | 6 | (command_loop_1, read_char): Use it. |
| 5 | (Fcommand_execute): Remove, replace by an Elisp implementation. | 7 | (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) | |||
| 91 | char buf[200]; | 91 | char buf[200]; |
| 92 | sprintf (buf, "Static heap usage: %d of %d bytes", | 92 | sprintf (buf, "Static heap usage: %d of %d bytes", |
| 93 | bss_sbrk_ptr - bss_sbrk_buffer, STATIC_HEAP_SIZE); | 93 | bss_sbrk_ptr - bss_sbrk_buffer, STATIC_HEAP_SIZE); |
| 94 | /* Don't change this call to message1! message1 can log | 94 | /* Don't log messages, cause at this point, we're not allowed to create |
| 95 | messages, and at this point, we're not allowed to create | ||
| 96 | buffers. */ | 95 | buffers. */ |
| 97 | message ("%s", buf); | 96 | message1_nolog ("%s", buf); |
| 98 | } | 97 | } |