changeset 18265:ffe9754664a2

(vc-steal-lock): Use yes-or-no-p for confirmation.
author Richard M. Stallman <rms@gnu.org>
date Sun, 15 Jun 1997 23:03:18 +0000
parents 85e7518aaf4a
children fd7bd1ad0763
files lisp/vc.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Sun Jun 15 21:00:32 1997 +0000
+++ b/lisp/vc.el	Sun Jun 15 23:03:18 1997 +0000
@@ -1035,8 +1035,8 @@
     (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 "~/"))