(quail-defrule-internal): Add missing `error' call for null key.

This commit is contained in:
Juri Linkov 2006-09-02 23:31:33 +00:00
parent cc6e650ef5
commit 00baf2eb08

View file

@ -1096,7 +1096,7 @@ Optional 5th arg DECODE-MAP is a Quail decode map.
Optional 6th arg PROPS is a property list annotating TRANS. See the
function `quail-define-rules' for the detail."
(if (null (stringp key))
"Invalid Quail key `%s'" key)
(error "Invalid Quail key `%s'" key))
(if (not (or (numberp trans) (stringp trans) (vectorp trans)
(consp trans)
(symbolp trans)