changeset 72622:adb1cbfb05ca

(quail-defrule-internal): Add missing `error' call for null key.
author Juri Linkov <juri@jurta.org>
date Sat, 02 Sep 2006 23:31:33 +0000
parents 82f0fddf878e
children d9b7ebc9fed7
files lisp/international/quail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/quail.el	Sat Sep 02 23:30:21 2006 +0000
+++ b/lisp/international/quail.el	Sat Sep 02 23:31:33 2006 +0000
@@ -1096,7 +1096,7 @@
 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)