Ver Fonte

lisp/ob-gnuplot.el: Use `org-babel-local-file-name'

* lisp/ob-gnuplot.el (org-babel-gnuplot-process-vars): Use
`org-babel-local-file-name'.

TINYCHANGE
Ihor Radchenko há 3 anos atrás
pai
commit
c7de815c5a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      lisp/ob-gnuplot.el

+ 1 - 1
lisp/ob-gnuplot.el

@@ -101,7 +101,7 @@ code."
 				org-babel-temporary-directory
 				"/gnuplot/"
 				(file-remote-p val 'host)
-				(file-local-name val))))
+				(org-babel-local-file-name val))))
 		  (if (and (file-exists-p local-name) ;; only download file if remote is newer
 			   (file-newer-than-file-p local-name val))
 		      local-name