1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-21 06:55:35 +00:00

ob-haskell: Print all results with :results output

* lisp/ob-haskell.el (org-babel-execute:haskell): Print all results,
including the last one.
This commit is contained in:
Roland Coeurjoly 2020-05-04 16:56:38 +02:00 committed by Nicolas Goaziou
parent e5eda0beeb
commit 6fd05fcaca

View File

@ -85,7 +85,7 @@
(org-babel-reassemble-table
(let ((result
(pcase result-type
(`output (mapconcat #'identity (reverse (cdr results)) "\n"))
(`output (mapconcat #'identity (reverse results) "\n"))
(`value (car results)))))
(org-babel-result-cond (cdr (assq :result-params params))
result (org-babel-script-escape result)))