소스 검색

ob: better parsing of list output from scripting languages

* lisp/ob.el (org-babel-script-escape): Replace commas with spaces for
  better list reading when list items are packed with commas,
  e.g. Haskell list output.
Eric Schulte 14 년 전
부모
커밋
1d3db31ca7
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      lisp/ob.el

+ 2 - 1
lisp/ob.el

@@ -1803,7 +1803,8 @@ block but are passed literally to the \"example-block\"."
 		   (93 (if (or in-double in-single) ; ]
 			   (cons 93 out)
 			 (cons 41 out)))
-		   (44 (if (or in-double in-single) (cons 44 out) out)) ; ,
+		   (44 (if (or in-double in-single) ; ,
+			   (cons 44 out) (cons 32 out)))
 		   (39 (if in-double	; '
 			   (cons 39 out)
 			 (setq in-single (not in-single)) (cons 34 out)))