aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.c
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-04 04:33:40 +0000
committerRichard M. Stallman1996-09-04 04:33:40 +0000
commit46d8a55bd1965a90e08b030d6e97bb5a110bb9fc (patch)
treeb76a73685cc6626205b58b38ce2f42bd6c4058f2 /src/intervals.c
parentb516a185f9b6503f05bbe376628d353de20dd7b7 (diff)
downloademacs-46d8a55bd1965a90e08b030d6e97bb5a110bb9fc.tar.gz
emacs-46d8a55bd1965a90e08b030d6e97bb5a110bb9fc.zip
(copy_intervals_to_string): Take arg as buffer.
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/intervals.c b/src/intervals.c
index c399d40d10f..00c7395cbb0 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -1843,10 +1843,11 @@ copy_intervals (tree, start, length)
1843 1843
1844INLINE void 1844INLINE void
1845copy_intervals_to_string (string, buffer, position, length) 1845copy_intervals_to_string (string, buffer, position, length)
1846 Lisp_Object string, buffer; 1846 Lisp_Object string;
1847 struct buffer *buffer;
1847 int position, length; 1848 int position, length;
1848{ 1849{
1849 INTERVAL interval_copy = copy_intervals (BUF_INTERVALS (XBUFFER (buffer)), 1850 INTERVAL interval_copy = copy_intervals (BUF_INTERVALS (buffer),
1850 position, length); 1851 position, length);
1851 if (NULL_INTERVAL_P (interval_copy)) 1852 if (NULL_INTERVAL_P (interval_copy))
1852 return; 1853 return;