From: Richard M. Stallman Date: Sun, 13 Feb 1994 02:06:55 +0000 (+0000) Subject: (decode_mode_spec): Support %+. X-Git-Tag: emacs-19.34~9916 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5cc9f80d695a9f00cbdbe4a3f71c2a3ccb7dfabe;p=emacs.git (decode_mode_spec): Support %+. --- diff --git a/src/xdisp.c b/src/xdisp.c index 92a9b6fba49..d17a43e6408 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -2839,6 +2839,11 @@ decode_mode_spec (w, c, maxwidth) return "*"; return "-"; + case '+': + if (MODIFF > current_buffer->save_modified) + return "*"; + return "-"; + case 's': /* status of process */ obj = Fget_buffer_process (Fcurrent_buffer ());