# HG changeset patch # User Richard M. Stallman # Date 891647891 0 # Node ID 78203467fc7d6a134f2b92816d7b5d0a5e311e9b # Parent b2da0edeae628349b311e4f1373144e77fb7f82f (set_intervals_multibyte): Function moved after set_intervals_multibyte_1. diff -r b2da0edeae62 -r 78203467fc7d src/intervals.c --- a/src/intervals.c Fri Apr 03 23:49:11 1998 +0000 +++ b/src/intervals.c Fri Apr 03 23:58:11 1998 +0000 @@ -2115,21 +2115,6 @@ 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 @@ } } +/* 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 */