]> git.eshelyaron.com Git - emacs.git/commitdiff
(copy_intervals_to_string): Take arg as buffer.
authorRichard M. Stallman <rms@gnu.org>
Wed, 4 Sep 1996 04:33:40 +0000 (04:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 4 Sep 1996 04:33:40 +0000 (04:33 +0000)
src/intervals.c

index c399d40d10f1d516c8cdcf3e877c0d5f46a95509..00c7395cbb08ff77b75c5250c017ea90129caa3a 100644 (file)
@@ -1843,10 +1843,11 @@ copy_intervals (tree, start, length)
 
 INLINE void
 copy_intervals_to_string (string, buffer, position, length)
-     Lisp_Object string, buffer;
+     Lisp_Object string;
+     struct buffer *buffer;
      int position, length;
 {
-  INTERVAL interval_copy = copy_intervals (BUF_INTERVALS (XBUFFER (buffer)),
+  INTERVAL interval_copy = copy_intervals (BUF_INTERVALS (buffer),
                                           position, length);
   if (NULL_INTERVAL_P (interval_copy))
     return;