Mercurial > emacs
comparison src/buffer.c @ 46419:46ff766afaaf
* buffer.c (Fother_buffer): Use SREF when retrieving a byte from
a string.
| author | Ken Raeburn <raeburn@raeburn.org> |
|---|---|
| date | Tue, 16 Jul 2002 15:48:54 +0000 |
| parents | ef7dc46ecd0b |
| children | ee4f1940ebd5 |
comparison
equal
deleted
inserted
replaced
| 46418:b12a32662433 | 46419:46ff766afaaf |
|---|---|
| 1161 for (; !NILP (tail); tail = Fcdr (tail)) | 1161 for (; !NILP (tail); tail = Fcdr (tail)) |
| 1162 { | 1162 { |
| 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. */ |
| 1170 if (!NILP (pred)) | 1170 if (!NILP (pred)) |
| 1171 { | 1171 { |
