branch: elpa/org-contrib commit 7f32f80f9589f7cbf944135e4f3cd5c690eb5db2 Author: bar <bar@x220.localhost> Commit: Bastien Guerry <b...@gnu.org>
file-name-directory return nil with arg file --- lisp/ox-groff.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-groff.el b/lisp/ox-groff.el index 3e376f15ff..1eb3da7fa7 100644 --- a/lisp/ox-groff.el +++ b/lisp/ox-groff.el @@ -1894,7 +1894,7 @@ through the command specified in `org-groff-pdf-process'. Return PDF file name or an error if it couldn't be produced." (let* ((base-name (file-name-sans-extension (file-name-nondirectory file))) (full-name (file-truename file)) - (out-dir (file-name-directory file)) + (out-dir (file-name-directory full-name)) (time (org-groff--time-sec nil)) ;; Properly set working directory for compilation. (default-directory (if (file-name-absolute-p file)