(lglyph-set-code): New function.
authorKenichi Handa <handa@m17n.org>
Tue, 30 Dec 2008 23:32:55 +0000 (23:32 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 30 Dec 2008 23:32:55 +0000 (23:32 +0000)
lisp/composite.el

index 6d1a2f0..8e924ac 100644 (file)
@@ -445,6 +445,7 @@ after a sequence of character events."
 (defsubst lglyph-set-from-to (glyph from to)
   (progn (aset glyph 0 from) (aset glyph 1 to)))
 (defsubst lglyph-set-char (glyph char) (aset glyph 2 char))
+(defsubst lglyph-set-code (glyph code) (aset glyph 3 code))
 (defsubst lglyph-set-width (glyph width) (aset glyph 4 width))
 (defsubst lglyph-set-adjustment (glyph &optional xoff yoff wadjust)
   (aset glyph 9 (vector (or xoff 0) (or yoff 0) (or wadjust 0))))