summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-25 00:33:57 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-25 00:33:57 -0700
commit179dade40292e5bdccdd4ab88748a06a94307570 (patch)
treeade77d4c674eed5b63e0c34af61ca8360eb74935
parenteab3844f965646b62e242aa622754b86d1fd3444 (diff)
downloademacs-179dade40292e5bdccdd4ab88748a06a94307570.tar.gz
Fix minor typos in previous change.
-rw-r--r--src/alloc.c2
-rw-r--r--src/buffer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index c9496ecf25c..0de83f02f65 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5361,7 +5361,7 @@ mark_object (Lisp_Object arg)
if (po != &buffer_defaults && po != &buffer_local_symbols)
{
struct buffer *b;
- for (b = all_buffers; b && b != po; b = b->header.next)
+ for (b = all_buffers; b && b != po; b = b->header.next.buffer)
;
if (b == NULL)
abort ();
diff --git a/src/buffer.c b/src/buffer.c
index 6ced4fbae87..aa50eff4fd0 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -43,7 +43,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
struct buffer *current_buffer; /* the current buffer */
/* First buffer in chain of all buffers (in reverse order of creation).
- Threaded through ->header.next. */
+ Threaded through ->header.next.buffer. */
struct buffer *all_buffers;