From 24cef2618f45d8616044237c6dc642b89479442c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 3 Apr 1998 23:58:11 +0000 Subject: [PATCH] (set_intervals_multibyte): Function moved after set_intervals_multibyte_1. --- src/intervals.c | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/intervals.c b/src/intervals.c index c5dad670926..370bca4a247 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -2115,21 +2115,6 @@ compare_string_intervals (s1, s2) return 1; } -static void set_intervals_multibyte_1 (INTERVAL, int, int, int, int, int); - -/* Update the intervals of the current buffer - to fit the contents as multibyte (if MULTI_FLAG is 1) - or to fit them as non-multibyte (if MULTI_FLAG is 0). */ - -void -set_intervals_multibyte (multi_flag) - int multi_flag; -{ - if (BUF_INTERVALS (current_buffer)) - set_intervals_multibyte_1 (BUF_INTERVALS (current_buffer), multi_flag, - BEG, BEG_BYTE, Z, Z_BYTE); -} - /* Recursively adjust interval I in the current buffer for setting enable_multibyte_characters to MULTI_FLAG. The range of interval I is START ... END in characters, @@ -2189,4 +2174,17 @@ set_intervals_multibyte_1 (i, multi_flag, start, start_byte, end, end_byte) } } +/* Update the intervals of the current buffer + to fit the contents as multibyte (if MULTI_FLAG is 1) + or to fit them as non-multibyte (if MULTI_FLAG is 0). */ + +void +set_intervals_multibyte (multi_flag) + int multi_flag; +{ + if (BUF_INTERVALS (current_buffer)) + set_intervals_multibyte_1 (BUF_INTERVALS (current_buffer), multi_flag, + BEG, BEG_BYTE, Z, Z_BYTE); +} + #endif /* USE_TEXT_PROPERTIES */ -- 2.39.2