summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIhor Radchenko <yantar92@gmail.com>2021-05-01 16:32:27 +0200
committerBastien Guerry <bzg@gnu.org>2021-05-01 16:32:56 +0200
commitc7de815c5a9b3982684a49dee09511f51993815c (patch)
tree7fe8901ce3dd3dbbf7707cc78de362fc47b03dd9
parentc1a5f5c1553e9e9364b490438428f9e7bd22a09c (diff)
downloadorg-mode-c7de815c5a9b3982684a49dee09511f51993815c.tar.gz
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
-rw-r--r--lisp/ob-gnuplot.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el
index c0a9ff1..a9b8e65 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