diff options
| author | Richard M. Stallman | 1994-02-13 02:06:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-02-13 02:06:55 +0000 |
| commit | 5cc9f80d695a9f00cbdbe4a3f71c2a3ccb7dfabe (patch) | |
| tree | 825addcaa08a791465347cdbd35136e43c9e0f12 | |
| parent | 456c617c0b93bd3f296d57af45e042223ddf1860 (diff) | |
| download | emacs-5cc9f80d695a9f00cbdbe4a3f71c2a3ccb7dfabe.tar.gz emacs-5cc9f80d695a9f00cbdbe4a3f71c2a3ccb7dfabe.zip | |
(decode_mode_spec): Support %+.
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 92a9b6fba49..d17a43e6408 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2839,6 +2839,11 @@ decode_mode_spec (w, c, maxwidth) | |||
| 2839 | return "*"; | 2839 | return "*"; |
| 2840 | return "-"; | 2840 | return "-"; |
| 2841 | 2841 | ||
| 2842 | case '+': | ||
| 2843 | if (MODIFF > current_buffer->save_modified) | ||
| 2844 | return "*"; | ||
| 2845 | return "-"; | ||
| 2846 | |||
| 2842 | case 's': | 2847 | case 's': |
| 2843 | /* status of process */ | 2848 | /* status of process */ |
| 2844 | obj = Fget_buffer_process (Fcurrent_buffer ()); | 2849 | obj = Fget_buffer_process (Fcurrent_buffer ()); |