diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index fc9a11a4cc2..88f9e9c55cd 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2961,8 +2961,11 @@ decode_mode_spec (w, c, maxwidth) | |||
| 2961 | return "-"; | 2961 | return "-"; |
| 2962 | 2962 | ||
| 2963 | case '+': | 2963 | case '+': |
| 2964 | /* This differs from %* only for a modified read-only buffer. */ | ||
| 2964 | if (MODIFF > current_buffer->save_modified) | 2965 | if (MODIFF > current_buffer->save_modified) |
| 2965 | return "*"; | 2966 | return "*"; |
| 2967 | if (!NILP (current_buffer->read_only)) | ||
| 2968 | return "%"; | ||
| 2966 | return "-"; | 2969 | return "-"; |
| 2967 | 2970 | ||
| 2968 | case 's': | 2971 | case 's': |