Browse Source

More general regexp for descriptions items

* org-list.el (org-list-to-generic): Descriptions labels can be any
  suit of symbols, and will end at double colons.
Nicolas Goaziou 14 years ago
parent
commit
385c2666b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-list.el

+ 1 - 1
lisp/org-list.el

@@ -2245,7 +2245,7 @@ Valid parameters PARAMS are
       (while (setq sublist (pop list))
 	(cond ((symbolp sublist) nil)
 	      ((stringp sublist)
-	       (when (string-match "^\\(\\S-+\\)[ \t]+::" sublist)
+	       (when (string-match "^\\(.*\\)[ \t]+::" sublist)
 		 (setq term (org-trim (format (concat dtstart "%s" dtend)
 					      (match-string 1 sublist))))
 		 (setq sublist (concat ddstart