aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/intervals.c3
-rw-r--r--src/xdisp.c7
2 files changed, 4 insertions, 6 deletions
diff --git a/src/intervals.c b/src/intervals.c
index 34829ab050d..38367460a52 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -2334,7 +2334,6 @@ set_intervals_multibyte_1 (INTERVAL i, bool multi_flag,
2334 2334
2335 if (multi_flag) 2335 if (multi_flag)
2336 { 2336 {
2337 ptrdiff_t temp;
2338 left_end_byte 2337 left_end_byte
2339 = advance_to_char_boundary (start_byte + LEFT_TOTAL_LENGTH (i)); 2338 = advance_to_char_boundary (start_byte + LEFT_TOTAL_LENGTH (i));
2340 left_end = BYTE_TO_CHAR (left_end_byte); 2339 left_end = BYTE_TO_CHAR (left_end_byte);
@@ -2355,8 +2354,6 @@ set_intervals_multibyte_1 (INTERVAL i, bool multi_flag,
2355 2354
2356 if (multi_flag) 2355 if (multi_flag)
2357 { 2356 {
2358 ptrdiff_t temp;
2359
2360 right_start_byte 2357 right_start_byte
2361 = advance_to_char_boundary (end_byte - RIGHT_TOTAL_LENGTH (i)); 2358 = advance_to_char_boundary (end_byte - RIGHT_TOTAL_LENGTH (i));
2362 right_start = BYTE_TO_CHAR (right_start_byte); 2359 right_start = BYTE_TO_CHAR (right_start_byte);
diff --git a/src/xdisp.c b/src/xdisp.c
index a8604d58af7..63ca677e362 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -24026,7 +24026,7 @@ display_mode_element (struct it *it, int depth, int field_width, int precision,
24026 ? string_byte_to_char (elt, bytepos) 24026 ? string_byte_to_char (elt, bytepos)
24027 : bytepos); 24027 : bytepos);
24028 spec = decode_mode_spec (it->w, c, field, &string); 24028 spec = decode_mode_spec (it->w, c, field, &string);
24029 multibyte = STRINGP (string) && STRING_MULTIBYTE (string); 24029 multibyte = !NILP (string) && STRING_MULTIBYTE (string);
24030 24030
24031 switch (mode_line_target) 24031 switch (mode_line_target)
24032 { 24032 {
@@ -24702,8 +24702,9 @@ percent99 (ptrdiff_t n, ptrdiff_t d)
24702 24702
24703/* Return a string for the output of a mode line %-spec for window W, 24703/* Return a string for the output of a mode line %-spec for window W,
24704 generated by character C. FIELD_WIDTH > 0 means pad the string 24704 generated by character C. FIELD_WIDTH > 0 means pad the string
24705 returned with spaces to that value. Return a Lisp string in 24705 returned with spaces to that value. Set *STRING to be a Lisp
24706 *STRING if the resulting string is taken from that Lisp string. 24706 string if the resulting string is taken from that Lisp string;
24707 otherwise, set *STRING to Qnil.
24707 24708
24708 Note we operate on the current buffer for most purposes. */ 24709 Note we operate on the current buffer for most purposes. */
24709 24710