summaryrefslogtreecommitdiff
path: root/lisp/vc.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-06-15 23:03:18 +0000
committerRichard M. Stallman <rms@gnu.org>1997-06-15 23:03:18 +0000
commit4bc504c88ca3379b76a9df10319693b2274d9dc3 (patch)
tree4406a2b4a5f3b7b42bbfc0d668c69fe60252727c /lisp/vc.el
parent123658267ca8737a31d5f8c36ed27b7f0eaf54a8 (diff)
downloademacs-4bc504c88ca3379b76a9df10319693b2274d9dc3.tar.gz
(vc-steal-lock): Use yes-or-no-p for confirmation.
Diffstat (limited to 'lisp/vc.el')
-rw-r--r--lisp/vc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index fca193a0b90..f88a36871a2 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -1035,8 +1035,8 @@ level to check it in under. COMMENT, if specified, is the checkin comment."
(if rev
(setq file-description (format "%s:%s" file rev))
(setq file-description file))
- (if (not (y-or-n-p (format "Take the lock on %s from %s? "
- file-description owner)))
+ (if (not (yes-or-no-p (format "Steal the lock on %s from %s? "
+ file-description owner)))
(error "Steal cancelled"))
(pop-to-buffer (get-buffer-create "*VC-mail*"))
(setq default-directory (expand-file-name "~/"))