org-element: Update paragraph separate regexp

* lisp/org-element.el (org-element-paragraph-separate): More accurate
  regexp.
This commit is contained in:
Nicolas Goaziou 2013-11-25 23:19:48 +01:00
parent 5213e0f704
commit 7bee47120b
1 changed files with 6 additions and 4 deletions

View File

@ -143,10 +143,12 @@
"$" "\\|"
;; Tables (any type).
"\\(?:|\\|\\+-[-+]\\)" "\\|"
;; Blocks (any type), Babel calls, drawers (any type),
;; fixed-width areas and keywords. Note: this is only an
;; indication and need some thorough check.
"[#:]" "\\|"
;; Blocks (any type), Babel calls and keywords. Note: this
;; is only an indication and need some thorough check.
"#\\(?:[+ ]\\|$\\)" "\\|"
;; Drawers (any type) and fixed-width areas. This is also
;; only an indication.
":" "\\|"
;; Horizontal rules.
"-\\{5,\\}[ \t]*$" "\\|"
;; LaTeX environments.