On 08/01/2014 17:31, Bastien wrote:
Daniel Gerber <daniel.g.ger...@gmail.com> writes:

This change in org-babel-python-var-to-python makes python code blocks
accept a string with text properties (as one gets when referring
another code block). I guess there should be something similar for
other languages.
I've now fixed this by using %s instead of %S, let me know if this
works correctly for you.
Not quite. I thought %S was not a typo because it escapes characters more nicely. E.g. with %s the buffer should contain \"\"\" to mean """ in python.

Also, one quote is missing
- (if (and (stringp var) (string-match "[\n\r]" var)) "\"\"%s\"\"" "%s") + (if (and (stringp var) (string-match "[\n\r]" var)) "\"\"\"%s\"\"\"" "\"%s\"")


Reply via email to