summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-02 05:25:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-02 05:25:27 -0400
commit38ce38f50cb684d91fb94506c982defa2007a737 (patch)
tree9fdacc89ddd1cf4c495d969698daeb82a526f63a
parent881370a731fd8d3ea7e2026c0d21fe8bc6ca25e6 (diff)
If a chess message cannot be found, let the user know which one.
-rw-r--r--chess-message.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-message.el b/chess-message.el
index 587f197..9ac8b32 100644
--- a/chess-message.el
+++ b/chess-message.el
@@ -31,7 +31,7 @@
(msg (and entry (cdr (assq key (cdr entry))))))
(if msg
(apply 'format msg arguments)
- "message not found")))
+ (format "Message not found: %s" key))))
(defsubst chess-message (key &rest arguments)
(message (apply 'chess-string key arguments)))