Fixed subversion vc error when opening file in new directory (bug#21984).
* lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
This commit is contained in:
parent
0284660f27
commit
1143016d04
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ switches."
|
|||
(defun vc-svn-registered (file)
|
||||
"Check if FILE is SVN registered."
|
||||
(setq file (expand-file-name file))
|
||||
(when (vc-svn-root file)
|
||||
(when (and (vc-svn-root file)
|
||||
(file-directory-p (file-name-directory file)))
|
||||
(with-temp-buffer
|
||||
(cd (file-name-directory file))
|
||||
(let* (process-file-side-effects
|
||||
|
|
Loading…
Add table
Reference in a new issue