diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) | |||
| 2968 | return "%"; | 2968 | return "%"; |
| 2969 | return "-"; | 2969 | return "-"; |
| 2970 | 2970 | ||
| 2971 | case '&': | ||
| 2972 | /* This differs from %* in ignoring read-only-ness. */ | ||
| 2973 | if (MODIFF > current_buffer->save_modified) | ||
| 2974 | return "*"; | ||
| 2975 | return "-"; | ||
| 2976 | |||
| 2971 | case 's': | 2977 | case 's': |
| 2972 | /* status of process */ | 2978 | /* status of process */ |
| 2973 | obj = Fget_buffer_process (Fcurrent_buffer ()); | 2979 | obj = Fget_buffer_process (Fcurrent_buffer ()); |