;;; -*-Scheme-*-
;;;
-;;; $Id: prompt.scm,v 1.158 1993/08/02 03:06:37 cph Exp $
+;;; $Id: prompt.scm,v 1.159 1993/08/02 22:24:52 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-93 Massachusetts Institute of Technology
;;;
(define (prompt-for-confirmed-password)
(let ((password1 (prompt-for-password "Password: ")))
(let ((password2 (prompt-for-password "Verify: ")))
- (if (string=? password1 password2)
- password1
- (begin
- (editor-beep)
- (message "Passwords do not match!")
- (abort-current-command))))))
+ (if (not (string=? password1 password2))
+ (editor-error "Passwords do not match!"))
+ password1)))
;;; -*-Scheme-*-
;;;
-;;; $Id: unix.scm,v 1.36 1993/07/22 19:12:26 cph Exp $
+;;; $Id: unix.scm,v 1.37 1993/08/02 22:24:58 cph Exp $
;;;
;;; Copyright (c) 1989-1993 Massachusetts Institute of Technology
;;;
(decrypt the-encrypted-file password
(lambda ()
(kill-buffer (mark-buffer mark))
- (editor-beep)
- (message "krypt: Password error!")
- (abort-current-command))
+ (editor-error "krypt: Password error!"))
(lambda (x)
(editor-beep)
(message "krypt: Checksum error!")