changeset 72627:ab32c6acd9f2

(quail-defrule-internal): Add a check if a key is a vector.
author Juri Linkov <juri@jurta.org>
date Sun, 03 Sep 2006 14:00:19 +0000
parents 187f38ad8b4e
children 62dbeb7871a2
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:44:59 2006 +0000
+++ b/lisp/international/quail.el	Sun Sep 03 14:00:19 2006 +0000
@@ -1095,7 +1095,7 @@
 
 Optional 6th arg PROPS is a property list annotating TRANS.  See the
 function `quail-define-rules' for the detail."
-  (if (null (stringp key))
+  (if (not (or (stringp key) (vectorp key)))
       (error "Invalid Quail key `%s'" key))
   (if (not (or (numberp trans) (stringp trans) (vectorp trans)
 	       (consp trans)