Ver código fonte

ob-python.el (org-babel-python-var-to-python): Fix code typo

* ob-python.el (org-babel-python-var-to-python): Fix code typo.

Thanks to Daniel Gerber for reporting this.
Bastien Guerry 11 anos atrás
pai
commit
e88d9d7caf
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lisp/ob-python.el

+ 1 - 1
lisp/ob-python.el

@@ -136,7 +136,7 @@ specifying a variable of the same value."
     (if (equal var 'hline)
 	org-babel-python-hline-to
       (format
-       (if (and (stringp var) (string-match "[\n\r]" var)) "\"\"%S\"\"" "%S")
+       (if (and (stringp var) (string-match "[\n\r]" var)) "\"\"%s\"\"" "%s")
        var))))
 
 (defun org-babel-python-table-or-string (results)