diff --git a/src/xdisp.c b/src/xdisp.c index 63ca677e362..d380645c849 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -24026,6 +24026,7 @@ display_mode_element (struct it *it, int depth, int field_width, int precision, ? string_byte_to_char (elt, bytepos) : bytepos); spec = decode_mode_spec (it->w, c, field, &string); + eassert (NILP (string) || STRINGP (string)); multibyte = !NILP (string) && STRING_MULTIBYTE (string); switch (mode_line_target)