ob-core.el: Fix indentation of multiline text in list output
* lisp/ob-core.el (org-babel-format-result): Use `org-list-to-org' instead of `org-list-to-generic' to format result in Org list. The problem was in formatting a multiline text result into an Org list. Additional lines of a list item should be indented with the first line of the item. The method used for this formatting (`org-list-to-generic') does not add the extra indentation to additional lines of an item. Using `org-list-to-org' instead fixes the problem. TINYCHANGE
This commit is contained in:
parent
85ab64c2b3
commit
e700578799
|
@ -2442,7 +2442,7 @@ INFO may provide the values of these header arguments (in the
|
|||
((member "list" result-params)
|
||||
(insert
|
||||
(org-trim
|
||||
(org-list-to-generic
|
||||
(org-list-to-org
|
||||
(cons 'unordered
|
||||
(mapcar
|
||||
(lambda (e)
|
||||
|
|
Loading…
Reference in New Issue