Fix the performance of counsel-projectile-switch-to-buffer
This commit is contained in:
parent
575bf98179
commit
d55966f113
1 changed files with 4 additions and 3 deletions
|
|
@ -162,9 +162,10 @@ With a prefix ARG invalidates the cache first."
|
|||
|
||||
Like `projectile-project-buffer-names', but propertize buffer
|
||||
names as in `ivy--buffer-list'."
|
||||
(let ((buffer-names (projectile-project-buffer-names)))
|
||||
(ivy--buffer-list "" nil
|
||||
(lambda (x)
|
||||
(member (car x) (projectile-project-buffer-names)))))
|
||||
(member (car x) buffer-names)))))
|
||||
|
||||
(defun counsel-projectile--switch-buffer-action (buffer &optional other-window)
|
||||
"Switch to BUFFER.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue