diff options
| -rw-r--r-- | lisp/vc/vc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 09918fad31e..af129f3da5f 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -1474,7 +1474,7 @@ BEWARE: this function may change the current buffer." | |||
| 1474 | (vc-deduce-fileset not-state-changing allow-unregistered state-model-only-files))) | 1474 | (vc-deduce-fileset not-state-changing allow-unregistered state-model-only-files))) |
| 1475 | ((and (not buffer-file-name) | 1475 | ((and (not buffer-file-name) |
| 1476 | (setq backend (vc-responsible-backend default-directory))) | 1476 | (setq backend (vc-responsible-backend default-directory))) |
| 1477 | (list backend default-directory)) | 1477 | (list backend (list default-directory))) |
| 1478 | ((and allow-unregistered (not (vc-registered buffer-file-name))) | 1478 | ((and allow-unregistered (not (vc-registered buffer-file-name))) |
| 1479 | (if state-model-only-files | 1479 | (if state-model-only-files |
| 1480 | (list (vc-backend-for-registration (buffer-file-name)) | 1480 | (list (vc-backend-for-registration (buffer-file-name)) |