From a2d230bdb8084fac63710f322f1b848a485fb8d9 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Fri, 24 Jul 2009 03:38:26 +0200 Subject: [PATCH] Bugfix: org-list-beginning-re should not use * for list items. --- lisp/ChangeLog | 3 +++ lisp/org-list.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6c1e25b62..84234070e 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2009-07-24 Bastien Guerry + * 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. diff --git a/lisp/org-list.el b/lisp/org-list.el index 6de12c99f..1ccef0c22 100644 --- a/lisp/org-list.el +++ b/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