summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-04-03 23:58:11 +0000
committerRichard M. Stallman <rms@gnu.org>1998-04-03 23:58:11 +0000
commit24cef2618f45d8616044237c6dc642b89479442c (patch)
treea58ae5fae08ca0261cdb2ef5c883d6f4ee7f5fc0
parentc2e527be0b180325bfb4610a5c51bd5848370878 (diff)
downloademacs-24cef2618f45d8616044237c6dc642b89479442c.tar.gz
(set_intervals_multibyte): Function moved after set_intervals_multibyte_1.
-rw-r--r--src/intervals.c28
1 files 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 */