Mercurial > emacs
comparison src/xdisp.c @ 8386:1c42688133ee
(decode_mode_spec): Handle %&.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 30 Jul 1994 20:36:56 +0000 |
parents | d3c0876a550c |
children | 3f2854a14982 |
comparison
equal
deleted
inserted
replaced
8385:7d471f6a9939 | 8386:1c42688133ee |
---|---|
2966 return "*"; | 2966 return "*"; |
2967 if (!NILP (current_buffer->read_only)) | 2967 if (!NILP (current_buffer->read_only)) |
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 ()); |
2974 if (NILP (obj)) | 2980 if (NILP (obj)) |
2975 return "no process"; | 2981 return "no process"; |