]> git.eshelyaron.com Git - emacs.git/commitdiff
(ccl-compile-translate-character): Handle
authorKenichi Handa <handa@m17n.org>
Sat, 23 Jan 1999 02:15:46 +0000 (02:15 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 23 Jan 1999 02:15:46 +0000 (02:15 +0000)
the case that a tranlation table is CCL register correctly.

lisp/international/ccl.el

index b22fd32cbdac67ecb7141ada79f182ac67069cdd..33ba65201b22682bbc9ec29b4d8dc4d5e7723389 100644 (file)
        (rrr (nth 3 cmd)))
     (ccl-check-register rrr cmd)
     (ccl-check-register RRR cmd)
-    (cond ((symbolp Rrr)
+    (cond ((and (symbolp Rrr) (not (get Rrr 'ccl-register-number)))
           (if (not (get Rrr 'translation-table))
               (error "CCL: Invalid translation table %s in %s" Rrr cmd))
           (ccl-embed-extended-command 'translate-character-const-tbl