Explorar o código

ob-gnuplot: escape % character in output

lisp/ob-gnuplot.el (org-babel-execute:gnuplot): escape % percent
character in output messages coming from GnuPlot.
Thierry Banel %!s(int64=8) %!d(string=hai) anos
pai
achega
e89ca9c5d2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/ob-gnuplot.el

+ 1 - 1
lisp/ob-gnuplot.el

@@ -187,7 +187,7 @@ This function is called by `org-babel-execute-src-block'."
 		     script-file
 		     (if (member system-type '(cygwin windows-nt ms-dos))
 			 t nil)))))
-            (message output))
+            (message "%s" output))
         (with-temp-buffer
           (insert (concat body "\n"))
           (gnuplot-mode)