Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of vanished directories #213

Open
phst opened this issue May 19, 2015 · 0 comments · May be fixed by #214
Open

Improve handling of vanished directories #213

phst opened this issue May 19, 2015 · 0 comments · May be fixed by #214

Comments

@phst
Copy link

phst commented May 19, 2015

Sometimes files and directories vanish while still open in Emacs. In that case the p4-update check will throw errors such as (file-error "Setting current directory" "no such file or directory" "/foo/bar"). I think this comes from https://github.com/gareth-rees/p4.el/blob/master/p4.el#L1444. I suggest to add a file-accessible-directory-p check before trying to start the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant