From: Karl Heuer Date: Thu, 17 Jun 1999 05:29:34 +0000 (+0000) Subject: (mpuz-try-proposal): Fix message call. X-Git-Tag: emacs-20.4~90 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b42704317f30973c54aa4bdf21f97bf3f55d777;p=emacs.git (mpuz-try-proposal): Fix message call. Don't penalize player for certain impossible guesses. --- diff --git a/lisp/play/mpuz.el b/lisp/play/mpuz.el index 8f0f2f688e4..c0323610ab1 100644 --- a/lisp/play/mpuz.el +++ b/lisp/play/mpuz.el @@ -393,7 +393,9 @@ You may abort a game by typing \\\\[mpuz-offer-abort]." (digit (- digit-char ?0)) (correct-digit (mpuz-to-digit letter))) (cond ((mpuz-digit-solved-p correct-digit) - (message "%c has already been found.")) + (message "%c has already been found." (+ correct-digit ?0))) + ((mpuz-digit-solved-p digit) + (message "%c has already been placed." digit-char)) ((= digit correct-digit) (message "%c = %c correct !" letter-char digit-char) (mpuz-ding)