Commit 51b2d337 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(decode_mode_spec): Handle %&.

parent 3f4e31a2
......@@ -2968,6 +2968,12 @@ decode_mode_spec (w, c, maxwidth)
return "%";
return "-";
case '&':
/* This differs from %* in ignoring read-only-ness. */
if (MODIFF > current_buffer->save_modified)
return "*";
return "-";
case 's':
/* status of process */
obj = Fget_buffer_process (Fcurrent_buffer ());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment