From: Dave Love Date: Tue, 16 Jul 2002 13:57:00 +0000 (+0000) Subject: (display_mode_element): Fix call of Fset_text_properties. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~575 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=538a25d61b82f3b07cb1f679cf11ae762d28e717;p=emacs.git (display_mode_element): Fix call of Fset_text_properties. --- 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);