diff --git a/org-roam.el b/org-roam.el index 6b0df6f..424bfdb 100644 --- a/org-roam.el +++ b/org-roam.el @@ -126,7 +126,10 @@ Formatter may be a function that takes title as its only argument." (function :tag "Custom function")) :group 'org-roam) -(defcustom org-roam-list-files-commands '(find rg) +(defcustom org-roam-list-files-commands + (if (member system-type '(windows-nt ms-dos cygwin)) + nil + '(find rg)) "Commands that will be used to find Org-roam files. It should be a list of symbols or cons cells representing any of the following