Variable: bidi-paragraph-separate-re
bidi-paragraph-separate-re is a buffer-local variable defined in
buffer.c.
Documentation
If non-nil, a regexp matching a line that separates paragraphs.
The value of nil means to use empty lines as paragraph separators.
When Emacs displays bidirectional text, it by default computes the base paragraph direction separately for each paragraph. Setting this variable changes the places where paragraph base direction is recomputed.
The regexp is always matched after a newline, so it is best to anchor it by beginning it with a "^".
If you change the value of this variable, be sure to change
the value of bidi-paragraph-start-re accordingly. For
example, to have a single newline behave as a paragraph separator,
set both these variables to "^".
See also bidi-paragraph-direction.
Probably introduced at or before Emacs version 26.1.
Source Code
// Defined in /usr/src/emacs/src/buffer.c
DEFVAR_PER_BUFFER ("bidi-paragraph-separate-re",
&BVAR (current_buffer, bidi_paragraph_separate_re), Qnil,
doc: /* If non-nil, a regexp matching a line that separates paragraphs.
The value of nil means to use empty lines as paragraph separators.
When Emacs displays bidirectional text, it by default computes
the base paragraph direction separately for each paragraph.
Setting this variable changes the places where paragraph base
direction is recomputed.
The regexp is always matched after a newline, so it is best to
anchor it by beginning it with a "^".
If you change the value of this variable, be sure to change
the value of `bidi-paragraph-start-re' accordingly. For
example, to have a single newline behave as a paragraph separator,
set both these variables to "^".
See also `bidi-paragraph-direction'. */);