From 4bc504c88ca3379b76a9df10319693b2274d9dc3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 15 Jun 1997 23:03:18 +0000 Subject: [PATCH] (vc-steal-lock): Use yes-or-no-p for confirmation. --- lisp/vc.el | 4 ++-- 1 file 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 "~/")) -- 2.39.5