changeset 21351:78203467fc7d

(set_intervals_multibyte): Function moved after set_intervals_multibyte_1.
author Richard M. Stallman <rms@gnu.org>
date Fri, 03 Apr 1998 23:58:11 +0000
parents b2da0edeae62
children b9275822b6f5
files src/intervals.c
diffstat 1 files changed, 13 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- 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 */