From ef8378da9eaf65952a5d23e61cb982423ec6ba81 Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Mon, 2 Nov 2020 14:20:56 +0100 Subject: Expand find path names --- org-fc-awk.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'org-fc-awk.el') diff --git a/org-fc-awk.el b/org-fc-awk.el index fce1747..b0dbe11 100644 --- a/org-fc-awk.el +++ b/org-fc-awk.el @@ -31,7 +31,9 @@ a '.' to exclude temporary / backup files. With the '-L' option, 'find' follows symlinks." (format "find -L %s -name \"*.org\" -not -name \".*\" -print0" - (mapconcat 'shell-quote-argument paths " "))) + (mapconcat + (lambda (path) (shell-quote-argument (expand-file-name path))) + paths " "))) (defun org-fc-awk--indexer-variables () "Variables to pass to indexer scripts." -- cgit v1.2.3