From fbfde322c12e7777da61d53e6aac02b21d4fe902 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 28 Oct 2005 16:27:47 +0000 Subject: [PATCH] (decode_mode_spec): Define %e to indicate memory full. --- src/xdisp.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index f7f7898b476..973528bebf5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -17192,6 +17192,19 @@ decode_mode_spec (w, c, field_width, precision, multibyte) return decode_mode_spec_buf; } + case 'e': +#ifndef SYSTEM_MALLOC + { + extern char *spare_memory; + if (spare_memory) + return ""; + else + return "!MEM FULL! "; + } +#else + return ""; +#endif + case 'F': /* %F displays the frame name. */ if (!NILP (f->title)) -- 2.39.5