aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-02-13 02:06:55 +0000
committerRichard M. Stallman <[email protected]>1994-02-13 02:06:55 +0000
commit5cc9f80d695a9f00cbdbe4a3f71c2a3ccb7dfabe (patch)
tree825addcaa08a791465347cdbd35136e43c9e0f12 /src/xdisp.c
parent456c617c0b93bd3f296d57af45e042223ddf1860 (diff)
(decode_mode_spec): Support %+.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 92a9b6fba4..d17a43e640 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2839,6 +2839,11 @@ decode_mode_spec (w, c, maxwidth)
return "*";
return "-";
+ case '+':
+ if (MODIFF > current_buffer->save_modified)
+ return "*";
+ return "-";
+
case 's':
/* status of process */
obj = Fget_buffer_process (Fcurrent_buffer ());