ob-clojure: parse odd parens when nested isnide lists

* lisp/ob.el (org-babel-script-escape): Parse odd parens when nested
  isnide lists.
This commit is contained in:
Eric Schulte 2011-07-10 09:27:32 -06:00
parent c1465c5d00
commit cef17b6340
1 changed files with 3 additions and 1 deletions

View File

@ -1955,7 +1955,9 @@ block but are passed literally to the \"example-block\"."
(or (and (string-equal "[" (substring str 0 1))
(string-equal "]" (substring str -1)))
(and (string-equal "{" (substring str 0 1))
(string-equal "}" (substring str -1))))))
(string-equal "}" (substring str -1)))
(and (string-equal "(" (substring str 0 1))
(string-equal ")" (substring str -1))))))
(org-babel-read
(concat
"'"