From: Richard M. Stallman Date: Sun, 15 Jun 1997 23:03:18 +0000 (+0000) Subject: (vc-steal-lock): Use yes-or-no-p for confirmation. X-Git-Tag: emacs-20.1~1681 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4bc504c88ca3379b76a9df10319693b2274d9dc3;p=emacs.git (vc-steal-lock): Use yes-or-no-p for confirmation. --- 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 "~/"))