From c7de815c5a9b3982684a49dee09511f51993815c Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 1 May 2021 16:32:27 +0200 Subject: [PATCH] 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 --- lisp/ob-gnuplot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el index c0a9ff13a..a9b8e65e5 100644 --- a/lisp/ob-gnuplot.el +++ b/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