# HG changeset patch
# User Richard M. Stallman <rms@gnu.org>
# Date 761105215 0
# Node ID 18c152c31e66e03b04da8055f2bd419e3640a215
# Parent  a2b7fc4645d9b7721566f0e71ea8ae50db5616ad
(decode_mode_spec): Support %+.

diff -r a2b7fc4645d9 -r 18c152c31e66 src/xdisp.c
--- a/src/xdisp.c	Sun Feb 13 00:16:23 1994 +0000
+++ b/src/xdisp.c	Sun Feb 13 02:06:55 1994 +0000
@@ -2839,6 +2839,11 @@
 	return "*";
       return "-";
 
+    case '+':
+      if (MODIFF > current_buffer->save_modified)
+	return "*";
+      return "-";
+
     case 's':
       /* status of process */
       obj = Fget_buffer_process (Fcurrent_buffer ());