From fd979d8e529ebb9729bc14f8d95ad2737a64dd13 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 18 Nov 2019 14:17:48 -0500 Subject: [PATCH] completion/helm: fix void variable refs #2071 --- modules/completion/helm/autoload/helm.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/completion/helm/autoload/helm.el b/modules/completion/helm/autoload/helm.el index 116fc079d..70105d239 100644 --- a/modules/completion/helm/autoload/helm.el +++ b/modules/completion/helm/autoload/helm.el @@ -74,9 +74,9 @@ workspace." (command (list "rg --no-heading --line-number --color never" "-S" - (when all-files-p "-z -uu") - (unless recursive-p "--maxdepth 1"))) - (helm-ag-base-command (string-join command " "))) + (when all-files "-z -uu") + (unless recursive "--maxdepth 1"))) + (helm-ag-base-command (string-join (delq nil command) " "))) ;; TODO Define our own sources instead (helm-attrset 'name (format "[rg %s] Searching %s" (string-join (delq nil (cdr command)) " ")