# HG changeset patch # User Richard M. Stallman # Date 721249097 0 # Node ID ae13f4027ebd24255d22a2964cb08cefe10fee5f # Parent 352988418dbd668d91943bdf05da22bdb2db9016 (vc-cancel-version): Use yes-or-no-p. diff -r 352988418dbd -r ae13f4027ebd lisp/vc.el --- a/lisp/vc.el Sat Nov 07 20:36:45 1992 +0000 +++ b/lisp/vc.el Sun Nov 08 18:58:17 1992 +0000 @@ -5,7 +5,7 @@ ;; Author: Eric S. Raymond ;; Version: 4.0 -;; $Id: vc.el,v 1.14 1992/10/26 05:33:20 rms Exp rms $ +;; $Id: vc.el,v 1.15 1992/10/28 09:33:04 rms Exp rms $ ;; This file is part of GNU Emacs. @@ -739,7 +739,7 @@ (let ((target (vc-your-latest-version (buffer-file-name)))) (if (null target) (error "You didn't check in the last change.")) - (and (y-or-n-p (format "Remove version %s from master? " target)) + (and (yes-or-no-p (format "Remove version %s from master? " target)) (vc-backend-uncheck (buffer-file-name) target))) (if norevert (vc-mode-line (buffer-file-name))