* lisp/progmodes/project.el (project-switch-project): Allow
Tramp to establish a new connection for remote directories.
(Bug#77425)
(cherry picked from commit
839ef39a5e4eb4905c21b1431c146df755fa4b7a)
When called in a program, it will use the project corresponding
to directory DIR."
(interactive (list (funcall project-prompter)))
- (project-remember-project (project-current nil dir))
+ (project-remember-project (project-current t dir))
(let ((command (project--switch-project-command dir))
(buffer (current-buffer)))
(unwind-protect