aboutsummaryrefslogtreecommitdiffstats
path: root/src/bidi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bidi.c')
-rw-r--r--src/bidi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bidi.c b/src/bidi.c
index 058daba3e5a..fee97ae0c8e 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -400,14 +400,14 @@ bidi_initialize ()
400 make_number (bidi_type[i].type)); 400 make_number (bidi_type[i].type));
401 401
402 fallback_paragraph_start_re = 402 fallback_paragraph_start_re =
403 XSYMBOL (Fintern_soft (build_string ("paragraph-start"), Qnil))->value; 403 Fsymbol_value (Fintern_soft (build_string ("paragraph-start"), Qnil));
404 if (!STRINGP (fallback_paragraph_start_re)) 404 if (!STRINGP (fallback_paragraph_start_re))
405 fallback_paragraph_start_re = build_string ("\f\\|[ \t]*$"); 405 fallback_paragraph_start_re = build_string ("\f\\|[ \t]*$");
406 staticpro (&fallback_paragraph_start_re); 406 staticpro (&fallback_paragraph_start_re);
407 Qparagraph_start = intern ("paragraph-start"); 407 Qparagraph_start = intern ("paragraph-start");
408 staticpro (&Qparagraph_start); 408 staticpro (&Qparagraph_start);
409 fallback_paragraph_separate_re = 409 fallback_paragraph_separate_re =
410 XSYMBOL (Fintern_soft (build_string ("paragraph-separate"), Qnil))->value; 410 Fsymbol_value (Fintern_soft (build_string ("paragraph-separate"), Qnil));
411 if (!STRINGP (fallback_paragraph_separate_re)) 411 if (!STRINGP (fallback_paragraph_separate_re))
412 fallback_paragraph_separate_re = build_string ("[ \t\f]*$"); 412 fallback_paragraph_separate_re = build_string ("[ \t\f]*$");
413 staticpro (&fallback_paragraph_separate_re); 413 staticpro (&fallback_paragraph_separate_re);
@@ -879,7 +879,6 @@ bidi_paragraph_init (bidi_dir_t dir, struct bidi_it *bidi_it)
879 int ch, ch_len; 879 int ch, ch_len;
880 EMACS_INT pos; 880 EMACS_INT pos;
881 bidi_type_t type; 881 bidi_type_t type;
882 EMACS_INT sep_len;
883 882
884 /* If we are inside a paragraph separator, we are just waiting 883 /* If we are inside a paragraph separator, we are just waiting
885 for the separator to be exhausted; use the previous paragraph 884 for the separator to be exhausted; use the previous paragraph