mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
* lisp/vc/vc-dir.el (vc-dir-resynch-file): Use file-in-directory-p.
For better compatibility with MS-Windows.
This commit is contained in:
parent
7e38562bcd
commit
78416e8bed
1 changed files with 1 additions and 1 deletions
|
|
@ -1249,7 +1249,7 @@ that file."
|
|||
;; `default-directory' in order to do its work,
|
||||
;; but that's irrelevant to us here.
|
||||
(buffer-local-toplevel-value 'default-directory))))
|
||||
(when (string-prefix-p ddir file)
|
||||
(when (file-in-directory-p file ddir)
|
||||
(if (file-directory-p file)
|
||||
(progn
|
||||
(vc-dir-resync-directory-files file)
|
||||
|
|
|
|||
Loading…
Reference in a new issue