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 8def7da3776..32664bcd256 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -1391,7 +1391,7 @@ first backend that could register the file is used." | |||
| 1391 | (unless fname | 1391 | (unless fname |
| 1392 | (setq fname buffer-file-name)) | 1392 | (setq fname buffer-file-name)) |
| 1393 | (when (vc-call-backend backend 'registered fname) | 1393 | (when (vc-call-backend backend 'registered fname) |
| 1394 | (error "This file is already registered")) | 1394 | (error "This file is already registered: %s" fname)) |
| 1395 | ;; Watch out for new buffers of size 0: the corresponding file | 1395 | ;; Watch out for new buffers of size 0: the corresponding file |
| 1396 | ;; does not exist yet, even though buffer-modified-p is nil. | 1396 | ;; does not exist yet, even though buffer-modified-p is nil. |
| 1397 | (when bname | 1397 | (when bname |