From: Richard M. Stallman Date: Fri, 28 Oct 2005 16:27:47 +0000 (+0000) Subject: (decode_mode_spec): Define %e to indicate memory full. X-Git-Tag: emacs-pretest-22.0.90~6239 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fbfde322c12e7777da61d53e6aac02b21d4fe902;p=emacs.git (decode_mode_spec): Define %e to indicate memory full. --- 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))