replace -remove-item with -delete
This commit is contained in:
parent
2611d99ac1
commit
358eefcafe
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ With a prefix ARG invalidates the cache first."
|
|||
"Switch to a project buffer."
|
||||
(interactive)
|
||||
(ivy-read (projectile-prepend-project-name "Switch-to-buffer: ")
|
||||
(-remove-item (buffer-name (current-buffer))
|
||||
(delete (buffer-name (current-buffer))
|
||||
(projectile-project-buffer-names))
|
||||
:action (lambda (x)
|
||||
(switch-to-buffer x))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue