From d57d51007392f41645b78a28e8ef14132b42c324 Mon Sep 17 00:00:00 2001 Message-Id: From: Ihor Radchenko Date: Sat, 1 May 2021 21:54:13 +0800 Subject: [PATCH] Use org version of file-local-name for compatibility with Emacs 25 --- 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 @@ (defun org-babel-gnuplot-process-vars (params) 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 -- 2.26.3