mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
; vc-checkout: Wrap var lookup in 'bound-and-true-p'
This commit is contained in:
parent
e9fef1d70f
commit
7972b76c2c
@ -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…
Reference in New Issue
Block a user