From 51b2d337790daf3848568d7243b16bdc5539a445 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 30 Jul 1994 20:36:56 +0000 Subject: [PATCH] (decode_mode_spec): Handle %&. --- src/xdisp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 88f9e9c55cd..edb2f7caacd 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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 ()); -- 2.39.5