From 538a25d61b82f3b07cb1f679cf11ae762d28e717 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 16 Jul 2002 13:57:00 +0000 Subject: [PATCH] (display_mode_element): Fix call of Fset_text_properties. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 6c9b2709e9c..4e78364b3c4 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13608,7 +13608,8 @@ display_mode_element (it, depth, field_width, precision, elt, props) else { elt = Fcopy_sequence (elt); - Fset_text_properties (0, Flength (elt), props, elt); + Fset_text_properties (make_number (0), Flength (elt), + props, elt); mode_line_proptrans_alist = Fcons (Fcons (elt, props), mode_line_proptrans_alist); -- 2.39.5