emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 5de86ffaba 2/2: Merge branch 'bugfix'


From: ELPA Syncer
Subject: [elpa] externals/org 5de86ffaba 2/2: Merge branch 'bugfix'
Date: Mon, 26 Dec 2022 04:58:02 -0500 (EST)

branch: externals/org
commit 5de86ffaba11fee9675ce92c16ef3b028feab05f
Merge: d88c9893ee b11abb409c
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    Merge branch 'bugfix'
---
 lisp/ob-core.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index 8e0ac35946..f3b9c170e8 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -2460,13 +2460,18 @@ INFO may provide the values of these header arguments 
(in the
                    (insert
                     (org-trim
                      (org-list-to-org
+                       ;; We arbitrarily choose to format non-strings
+                       ;; as %S.
                       (cons 'unordered
                             (mapcar
                              (lambda (e)
                                 (cond
                                  ((stringp e) (list e))
                                  ((listp e)
-                                  (mapcar (lambda (x) (format "%S" x)) e))
+                                  (mapcar
+                                   (lambda (x)
+                                     (if (stringp x) x (format "%S" x)))
+                                   e))
                                  (t (list (format "%S" e)))))
                              (if (listp result) result
                                (split-string result "\n" t))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]