]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_mode_spec): Handle %&.
authorRichard M. Stallman <rms@gnu.org>
Sat, 30 Jul 1994 20:36:56 +0000 (20:36 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 30 Jul 1994 20:36:56 +0000 (20:36 +0000)
src/xdisp.c

index 88f9e9c55cdcf01c27fe9abbe1820f0ac409ed09..edb2f7caacdfc124f3031382185976bfaec3a6f6 100644 (file)
@@ -2968,6 +2968,12 @@ decode_mode_spec (w, c, maxwidth)
        return "%";
       return "-";
 
+    case '&':
+      /* This differs from %* in ignoring read-only-ness.  */
+      if (MODIFF > current_buffer->save_modified)
+       return "*";
+      return "-";
+
     case 's':
       /* status of process */
       obj = Fget_buffer_process (Fcurrent_buffer ());