From 5cc9f80d695a9f00cbdbe4a3f71c2a3ccb7dfabe Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 13 Feb 1994 02:06:55 +0000 Subject: [PATCH] (decode_mode_spec): Support %+. --- src/xdisp.c | 5 +++++ 1 file changed, 5 insertions(+) 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 ()); -- 2.39.5