From 4d0b5734c8d0be1f3d5d6b37b76a64c13518f7ca Mon Sep 17 00:00:00 2001 From: Mykhailo Shevchuk Date: Fri, 22 May 2020 15:14:03 +0200 Subject: [PATCH] (fix): fix org-roam--list-files escape (#684) --- org-roam.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam.el b/org-roam.el index b863246..a10d8ca 100644 --- a/org-roam.el +++ b/org-roam.el @@ -308,7 +308,7 @@ Use external shell commands if defined in `org-roam-list-files-commands'." (if path (let ((fn (intern (concat "org-roam--list-files-" exe)))) (unless (fboundp fn) (user-error "%s is not an implemented search method" fn)) - (funcall fn path dir)) + (funcall fn path (format "\"%s\"" dir))) (org-roam--list-files-elisp dir)))) (defun org-roam--list-all-files ()