## Expected behavior File type selector will show up to select for ag/rg. ## Actual behavior from `emacs-helm.sh` if possible (See note at bottom) When `helm-adaptive-mode` is on, run `helm-do-grep-ag` with type selector will fail with error `"Wrong type argument: lisp, \.\.\."`. ## Steps to reproduce (recipe) 1. My setup for helm. ``` lisp (use-package helm :config (require 'helm-config) (helm-mode) (helm-adaptive-mode t) (setq helm-grep-ag-command "rg --color=always --smart-case --no-heading --line-number %s %s %s") :bind (("C-x g" . helm-do-grep-ag))) ``` 2. Start helm-do-grep-ag with type select using `C-u C-x g`. ## Describe versions of helm, emacs, operating system etc. Emacs: 25.1.1 on MacOS Sierra (`brew cask install emacs`) Helm: helm-20170503