From 6fab5bf04b6ec182c86db1fc7b879b73e83809a8 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 20 May 2014 18:00:05 +0200 Subject: [PATCH] * org.el (org-set-regexps-and-options): Fix * org.el (org-set-regexps-and-options): Allow `org-complex-heading-regexp-format' to match [/] and [%] cookies when they are both before and after the heading. Thanks to Nicolas Bercher for reporting this. --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 1113378d3..a89bf9d18 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5109,9 +5109,9 @@ Support for group tags is controlled by the option "\\(?: +\\(\\[#.\\]\\)\\)?" "\\(?: +" ;; Stats cookies can be stuck to body. - "\\(?:\\[[0-9%%/]+\\] *\\)?" + "\\(?:\\[[0-9%%/]+\\] *\\)*" "\\(%s\\)" - "\\(?: *\\[[0-9%%/]+\\]\\)?" + "\\(?: *\\[[0-9%%/]+\\]\\)*" "\\)" (org-re "\\(?:[ \t]+\\(:[[:alnum:]_@#%%:]+:\\)\\)?") "[ \t]*$") -- 2.11.4.GIT