Browse Source

Changed default for end-list regexp.

* lisp/org-list.el (org-list-end-regexp): By default, list ending is
  exactly 2 blank lines.
Nicolas Goaziou 15 years ago
parent
commit
b2433f9eb6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lisp/org-list.el

+ 2 - 2
lisp/org-list.el

@@ -156,10 +156,10 @@ Otherwise, look for `org-list-end-regexp'."
   :group 'org-plain-lists
   :type 'boolean)
 
-(defcustom org-list-end-regexp "^[ \t]*\n\\([ \t]*\n\\)+"
+(defcustom org-list-end-regexp "^[ \t]*\n[ \t]*\n"
   "Regexp matching the end of all plain list levels.
 It must start with \"^\" and end with \"\\n\". It defaults to 2
-or more blank lines. `org-empty-line-terminates-plain-lists' has
+blank lines. `org-empty-line-terminates-plain-lists' has
 precedence over it."
   :group 'org-plain-lists
   :type 'string)