HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e2a7b
)
(mpuz-congratulate): Don't say "1 errors".
author
Richard M. Stallman
<rms@gnu.org>
Wed, 18 Jun 1997 16:37:01 +0000
(16:37 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 18 Jun 1997 16:37:01 +0000
(16:37 +0000)
lisp/play/mpuz.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/play/mpuz.el
b/lisp/play/mpuz.el
index
a99182d
..
a035672
100644
(file)
--- a/
lisp/play/mpuz.el
+++ b/
lisp/play/mpuz.el
@@
-416,8
+416,9
@@
You may abort a game by typing \\<mpuz-mode-map>\\[mpuz-offer-abort]."
(defun mpuz-congratulate ()
"Build a congratulation message when puzzle is solved."
- (format "Puzzle solved with %d errors. %s"
+ (format "Puzzle solved with %d error
%
s. %s"
mpuz-nb-errors
+ (if (= mpuz-nb-errors 1) "" "s")
(cond ((= mpuz-nb-errors 0) "That's perfect !")
((= mpuz-nb-errors 1) "That's very good !")
((= mpuz-nb-errors 2) "That's good.")