[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org e700578799 2/2: ob-core.el: Fix indentation of mult
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org e700578799 2/2: ob-core.el: Fix indentation of multiline text in list output |
Date: |
Fri, 21 Oct 2022 02:57:51 -0400 (EDT) |
branch: externals/org
commit e7005787993f521f76e99f00e8a04d87703c493f
Author: Vikas Kumar <kr.vikas@gmail.com>
Commit: Ihor Radchenko <yantar92@posteo.net>
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
---
lisp/ob-core.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index c725a55082..d91f8a5a96 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -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)