Temporary fix for counsel-projectile arrayp error

This should be reversed once the issue is fixed upstream.

Addresses #792
This commit is contained in:
Henrik Lissner 2018-08-09 13:00:11 +02:00
parent 68dc510a1c
commit 87c8f6e18e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -224,10 +224,14 @@ The point of this is to avoid Emacs locking up indexing massive file trees."
#'counsel-find-file)
((doom-project-p 'nocache)
(let ((files (projectile-current-project-files)))
(if (<= (length files) ivy-sort-max-size)
#'counsel-projectile-find-file
#'projectile-find-file)))
#'projectile-find-file)
;; FIXME When counsel-projectile-find-file is fixed upstream
;; ((doom-project-p 'nocache)
;; (let ((files (projectile-current-project-files)))
;; (if (<= (length files) ivy-sort-max-size)
;; #'counsel-projectile-find-file
;; #'projectile-find-file)))
(#'counsel-file-jump))))