aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 2a42164af25..8aba88d0db9 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1163,7 +1163,7 @@ If BUFFER is omitted or nil, some interesting buffer is returned. */)
1163 buf = Fcdr (Fcar (tail)); 1163 buf = Fcdr (Fcar (tail));
1164 if (EQ (buf, buffer)) 1164 if (EQ (buf, buffer))
1165 continue; 1165 continue;
1166 if (SDATA (XBUFFER (buf)->name)[0] == ' ') 1166 if (SREF (XBUFFER (buf)->name, 0) == ' ')
1167 continue; 1167 continue;
1168 /* If the selected frame has a buffer_predicate, 1168 /* If the selected frame has a buffer_predicate,
1169 disregard buffers that don't fit the predicate. */ 1169 disregard buffers that don't fit the predicate. */