From f1cf88eeb6cb0f4267149e72db0875e245256a1a Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 28 Mar 2018 12:34:04 -0700 Subject: [PATCH] completion/ivy: fix ag/pt/grep file search args --- modules/completion/ivy/autoload/ivy.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/completion/ivy/autoload/ivy.el b/modules/completion/ivy/autoload/ivy.el index 1c130f1d2..c33c1ec54 100644 --- a/modules/completion/ivy/autoload/ivy.el +++ b/modules/completion/ivy/autoload/ivy.el @@ -302,7 +302,7 @@ regexp. If omitted, the current selection is used. If no selection is active, the last known search is used. If ALL-FILES-P, don't respect .gitignore files and search everything." - (interactive) + (interactive "P") (let ((+ivy--file-search-all-files-p all-files-p)) (+ivy--file-search 'ag query directory))) @@ -313,7 +313,7 @@ regexp. If omitted, the current selection is used. If no selection is active, the last known search is used. If ALL-FILES-P, don't respect .gitignore files and search everything." - (interactive) + (interactive "P") (let ((+ivy--file-search-all-files-p all-files-p)) (+ivy--file-search 'pt query directory))) @@ -324,7 +324,7 @@ a grep regexp. If omitted, the current selection is used. If no selection is active, the last known search is used. If ALL-FILES-P, don't respect .gitignore files and search everything." - (interactive) + (interactive "P") (let ((+ivy--file-search-all-files-p all-files-p)) (+ivy--file-search 'grep query directory)))