Bläddra i källkod

Bugfix: org-list-beginning-re should not use * for list items.

Bastien Guerry 16 år sedan
förälder
incheckning
a2d230bdb8
2 ändrade filer med 4 tillägg och 1 borttagningar
  1. 3 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-list.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-07-24  Bastien Guerry  <bzg@altern.org>
 
+	* org-list.el (org-list-beginning-re): Bugfix: don't use * when
+	trying to find the beginning of a list.
+
 	* org-exp.el (org-get-file-contents): Use a new argument: markup.
 	When present, tell org-get-file-contents not to protect org-like
 	lines.

+ 1 - 1
lisp/org-list.el

@@ -159,7 +159,7 @@ When the indentation would be larger than this, it will become
   :type 'integer)
 
 (defvar org-list-beginning-re
-  "^\\([ \t]*\\)\\([-+*]\\|[0-9]+[.)]\\) +\\(.*\\)$")
+  "^\\([ \t]*\\)\\([-+]\\|[0-9]+[.)]\\) +\\(.*\\)$")
 
 (defcustom org-list-radio-list-templates
   '((latex-mode "% BEGIN RECEIVE ORGLST %n