update project list after removing project
This commit is contained in:
parent
859357ab63
commit
beb3dd0081
1 changed files with 5 additions and 1 deletions
|
|
@ -308,7 +308,11 @@ invokes `projectile-commander' instead of
|
||||||
"kill all buffers")
|
"kill all buffers")
|
||||||
("r" (lambda (dir)
|
("r" (lambda (dir)
|
||||||
(let ((projectile-switch-project-action
|
(let ((projectile-switch-project-action
|
||||||
(lambda () (projectile-remove-known-project dir))))
|
(lambda ()
|
||||||
|
(projectile-remove-known-project dir)
|
||||||
|
(setq ivy--all-candidates
|
||||||
|
(delete dir ivy--all-candidates))
|
||||||
|
(ivy--reset-state ivy-last))))
|
||||||
(projectile-switch-project-by-name dir arg)))
|
(projectile-switch-project-by-name dir arg)))
|
||||||
"remove from known projects")
|
"remove from known projects")
|
||||||
("l" (lambda (dir)
|
("l" (lambda (dir)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue