 If ALL-FILES-P, don't respect .gitignore files and search everything."
   (interactive)
   (let ((+ivy--file-search-all-files-p all-files-p))
-    (+ivy--file-search 'pt (or query "") directory)))
+    (+ivy--file-search 'pt query directory)))
 
 ;;;###autoload
 (defun +ivy/grep (all-files-p &optional query directory)

If ALL-FILES-P, don't respect .gitignore files and search everything."
  (interactive)
  (let ((+ivy--file-search-all-files-p all-files-p))
    (+ivy--file-search 'ag (or query "") directory)))

;;;###autoload
(defun +ivy/pt (all-files-p &optional query directory)

If ALL-FILES-P, don't respect .gitignore files and search everything."
  (interactive)
  (let ((+ivy--file-search-all-files-p all-files-p))
    (+ivy--file-search 'grep query directory)))


;;;###autoload
