mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 21:32:52 +00:00
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.
This commit is contained in:
parent
7c28d8d336
commit
385c2666b1
|
@ -2245,7 +2245,7 @@ Valid parameters PARAMS are
|
||||||
(while (setq sublist (pop list))
|
(while (setq sublist (pop list))
|
||||||
(cond ((symbolp sublist) nil)
|
(cond ((symbolp sublist) nil)
|
||||||
((stringp sublist)
|
((stringp sublist)
|
||||||
(when (string-match "^\\(\\S-+\\)[ \t]+::" sublist)
|
(when (string-match "^\\(.*\\)[ \t]+::" sublist)
|
||||||
(setq term (org-trim (format (concat dtstart "%s" dtend)
|
(setq term (org-trim (format (concat dtstart "%s" dtend)
|
||||||
(match-string 1 sublist))))
|
(match-string 1 sublist))))
|
||||||
(setq sublist (concat ddstart
|
(setq sublist (concat ddstart
|
||||||
|
|
Loading…
Reference in a new issue