From 3af4949a075e41fb2c7af457a1a0e123a78b1100 Mon Sep 17 00:00:00 2001 From: Malcolm Purvis Date: Tue, 29 Jul 2014 15:22:54 +0200 Subject: [PATCH] org.el (org-refresh-category-properties): Regexp enhancement * org.el (org-refresh-category-properties): Regexp enhancement. TINYCHANGE --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 7e30061f3..2fc6854c1 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9474,7 +9474,7 @@ The refresh happens only for the current tree (not subtree)." (goto-char (point-min)) (put-text-property (point) (point-max) 'org-category def-cat) (while (re-search-forward - "^[ \t]*\\(#\\+CATEGORY:\\|[ \t]*:CATEGORY:\\)\\(.*\\)" nil t) + "^[ \t]*\\(#\\+CATEGORY:\\|*:CATEGORY:\\)\\(.*\\)" nil t) (setq pos (match-end 0) optionp (equal (char-after (match-beginning 0)) ?#) cat (org-trim (match-string 2))) -- 2.11.4.GIT