aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 0fd2e61f63e..23d4ebf9b23 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1155,7 +1155,11 @@ list_buffers_1 (files)
1155 write_string (b == old ? "." : " ", -1); 1155 write_string (b == old ? "." : " ", -1);
1156 /* Identify modified buffers */ 1156 /* Identify modified buffers */
1157 write_string (BUF_MODIFF (b) > b->save_modified ? "*" : " ", -1); 1157 write_string (BUF_MODIFF (b) > b->save_modified ? "*" : " ", -1);
1158 write_string (NILP (b->read_only) ? " " : "% ", -1); 1158 /* The current buffer is special-cased to be marked read-only.
1159 It is actually made read-only by the call to
1160 Buffer-menu-mode, below. */
1161 write_string ((b != current_buffer && NILP (b->read_only))
1162 ? " " : "% ", -1);
1159 Fprinc (b->name, Qnil); 1163 Fprinc (b->name, Qnil);
1160 Findent_to (col1, make_number (2)); 1164 Findent_to (col1, make_number (2));
1161 XSETFASTINT (tem, BUF_Z (b) - BUF_BEG (b)); 1165 XSETFASTINT (tem, BUF_Z (b) - BUF_BEG (b));