changeset 16110:4b672131c37f

(copy_intervals_to_string): Take arg as buffer.
author Richard M. Stallman <rms@gnu.org>
date Wed, 04 Sep 1996 04:33:40 +0000
parents 198c6c2846ae
children 5ad91b5cd2b4
files src/intervals.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/intervals.c	Wed Sep 04 04:31:10 1996 +0000
+++ b/src/intervals.c	Wed Sep 04 04:33:40 1996 +0000
@@ -1843,10 +1843,11 @@
 
 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;