mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 19:32:53 +00:00
org-element: Update paragraph separate regexp
* lisp/org-element.el (org-element-paragraph-separate): More accurate regexp.
This commit is contained in:
parent
5213e0f704
commit
7bee47120b
|
@ -143,10 +143,12 @@
|
||||||
"$" "\\|"
|
"$" "\\|"
|
||||||
;; Tables (any type).
|
;; Tables (any type).
|
||||||
"\\(?:|\\|\\+-[-+]\\)" "\\|"
|
"\\(?:|\\|\\+-[-+]\\)" "\\|"
|
||||||
;; Blocks (any type), Babel calls, drawers (any type),
|
;; Blocks (any type), Babel calls and keywords. Note: this
|
||||||
;; fixed-width areas and keywords. Note: this is only an
|
;; is only an indication and need some thorough check.
|
||||||
;; indication and need some thorough check.
|
"#\\(?:[+ ]\\|$\\)" "\\|"
|
||||||
"[#:]" "\\|"
|
;; Drawers (any type) and fixed-width areas. This is also
|
||||||
|
;; only an indication.
|
||||||
|
":" "\\|"
|
||||||
;; Horizontal rules.
|
;; Horizontal rules.
|
||||||
"-\\{5,\\}[ \t]*$" "\\|"
|
"-\\{5,\\}[ \t]*$" "\\|"
|
||||||
;; LaTeX environments.
|
;; LaTeX environments.
|
||||||
|
|
Loading…
Reference in a new issue