; vc-checkout: Wrap var lookup in 'bound-and-true-p'
This commit is contained in:
parent
e9fef1d70f
commit
7972b76c2c
1 changed files with 1 additions and 1 deletions
|
@ -1594,7 +1594,7 @@ After check-out, runs the normal hook `vc-checkout-hook'."
|
|||
(vc-call make-version-backups-p file)
|
||||
(vc-up-to-date-p file)
|
||||
(vc-make-version-backup file))
|
||||
(let ((backend (or vc-dir-backend (vc-backend file))))
|
||||
(let ((backend (or (bound-and-true-p vc-dir-backend) (vc-backend file))))
|
||||
(with-vc-properties (list file)
|
||||
(condition-case err
|
||||
(vc-call-backend backend 'checkout file rev)
|
||||
|
|
Loading…
Add table
Reference in a new issue