updated for version 7.0183
diff --git a/src/fold.c b/src/fold.c
index 6731e63..67d542c 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -1938,7 +1938,8 @@
 	curbuf = wp->w_buffer;
 
 	++emsg_off;
-	text = eval_to_string_safe(wp->w_p_fdt, NULL);
+	text = eval_to_string_safe(wp->w_p_fdt, NULL,
+				    was_set_insecurely((char_u *)"foldtext"));
 	--emsg_off;
 
 	curwin = save_curwin;