[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 7972b76c2c7: ; vc-checkout: Wrap var lookup in 'bound-and-true-
From: |
Dmitry Gutov |
Subject: |
emacs-29 7972b76c2c7: ; vc-checkout: Wrap var lookup in 'bound-and-true-p' |
Date: |
Tue, 11 Apr 2023 19:03:25 -0400 (EDT) |
branch: emacs-29
commit 7972b76c2c7426745fad8ea0fc9325f475f728b6
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
; vc-checkout: Wrap var lookup in 'bound-and-true-p'
---
lisp/vc/vc.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index de1e38a0ef9..c64da1233d1 100644
--- 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 7972b76c2c7: ; vc-checkout: Wrap var lookup in 'bound-and-true-p',
Dmitry Gutov <=