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 năm trước cách đây
mục cha
commit
385c2666b1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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