mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 18:36:26 +00:00
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
This commit is contained in:
parent
c1a5f5c155
commit
c7de815c5a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue