]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-steal-lock): Use yes-or-no-p for confirmation.
authorRichard M. Stallman <rms@gnu.org>
Sun, 15 Jun 1997 23:03:18 +0000 (23:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 15 Jun 1997 23:03:18 +0000 (23:03 +0000)
lisp/vc.el

index fca193a0b90f1605321b0260557c25bd74ef00da..f88a36871a2d335b46ed1efa00dc9fb02c0b076d 100644 (file)
@@ -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 "~/"))