]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix minor typos in previous change.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Apr 2011 07:33:57 +0000 (00:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Apr 2011 07:33:57 +0000 (00:33 -0700)
src/alloc.c
src/buffer.c

index c9496ecf25c45345171461a5cc00824d529968c9..0de83f02f6513eb53f69bccd90ea289a0d612d19 100644 (file)
@@ -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 ();
index 6ced4fbae879c8dc09cac7f465da8bb436d0bb24..aa50eff4fd02f81d76d12b0cabf88f90e97dcdce 100644 (file)
@@ -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;