(fix): fix org-roam--list-files escape (#684)

This commit is contained in:
Mykhailo Shevchuk
2020-05-22 15:14:03 +02:00
committed by GitHub
parent 4cd0fe4e41
commit 4d0b5734c8

View File

@@ -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 ()