aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorKen Raeburn2002-07-16 15:48:54 +0000
committerKen Raeburn2002-07-16 15:48:54 +0000
commit10ceceb87d3d48bc63ae13ce398b1ad16a046c36 (patch)
treedbdaec5fa31b80e7cdd273d9d8f60b1ed1cae3e2 /src/buffer.c
parent46e7e6b0bd41d70c2fe99f9c41e0478a107e1aac (diff)
downloademacs-10ceceb87d3d48bc63ae13ce398b1ad16a046c36.tar.gz
emacs-10ceceb87d3d48bc63ae13ce398b1ad16a046c36.zip
* buffer.c (Fother_buffer): Use SREF when retrieving a byte from
a string.
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. */