From ea6bd215fc52c93460c7a96b7c0a0f97d3f5c8f3 Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Mon, 25 May 2020 13:26:46 +0800 Subject: [PATCH] (fix): set default org-roam-list-files-commands for windows to nil (#698) --- org-roam.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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