changeset 5936:18c152c31e66

(decode_mode_spec): Support %+.
author Richard M. Stallman <rms@gnu.org>
date Sun, 13 Feb 1994 02:06:55 +0000
parents a2b7fc4645d9
children a5b94cc9cb11
files src/xdisp.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 ());