changeset 8386:1c42688133ee

(decode_mode_spec): Handle %&.
author Richard M. Stallman <rms@gnu.org>
date Sat, 30 Jul 1994 20:36:56 +0000
parents 7d471f6a9939
children 7dca276b66d8
files src/xdisp.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sat Jul 30 07:46:42 1994 +0000
+++ b/src/xdisp.c	Sat Jul 30 20:36:56 1994 +0000
@@ -2968,6 +2968,12 @@
 	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 ());