]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_mode_spec): Support %+.
authorRichard M. Stallman <rms@gnu.org>
Sun, 13 Feb 1994 02:06:55 +0000 (02:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 13 Feb 1994 02:06:55 +0000 (02:06 +0000)
src/xdisp.c

index 92a9b6fba495e4a17d29fd5e4099504521272082..d17a43e64081a695c6dc2459659c768fed4e45c0 100644 (file)
@@ -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 ());