diff options
| author | Richard M. Stallman | 1994-07-30 20:36:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-07-30 20:36:56 +0000 |
| commit | 51b2d337790daf3848568d7243b16bdc5539a445 (patch) | |
| tree | 1d1b032de8b8eb51c0a9ee4d4331c556777ce405 /src | |
| parent | 3f4e31a29f3ab3ca749764a295dded3647c380e8 (diff) | |
| download | emacs-51b2d337790daf3848568d7243b16bdc5539a445.tar.gz emacs-51b2d337790daf3848568d7243b16bdc5539a445.zip | |
(decode_mode_spec): Handle %&.
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 ()); |