diff options
| author | Richard M. Stallman | 1996-09-04 04:33:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-04 04:33:40 +0000 |
| commit | 46d8a55bd1965a90e08b030d6e97bb5a110bb9fc (patch) | |
| tree | b76a73685cc6626205b58b38ce2f42bd6c4058f2 /src/intervals.c | |
| parent | b516a185f9b6503f05bbe376628d353de20dd7b7 (diff) | |
| download | emacs-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.c | 5 |
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 | ||
| 1844 | INLINE void | 1844 | INLINE void |
| 1845 | copy_intervals_to_string (string, buffer, position, length) | 1845 | copy_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; |