projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9fef1d
)
; vc-checkout: Wrap var lookup in 'bound-and-true-p'
author
Dmitry Gutov
<dgutov@yandex.ru>
Tue, 11 Apr 2023 23:03:14 +0000
(
02:03
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Tue, 11 Apr 2023 23:03:14 +0000
(
02:03
+0300)
lisp/vc/vc.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc.el
b/lisp/vc/vc.el
index de1e38a0ef9c92cc642023e678d453704acc7068..c64da1233d182d521e85c0008c7999ce0b4727e9 100644
(file)
--- a/
lisp/vc/vc.el
+++ b/
lisp/vc/vc.el
@@
-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)