diff lisp/composite.el @ 100788:79c848cc0c06

(lglyph-set-code): New function.
author Kenichi Handa <handa@m17n.org>
date Tue, 30 Dec 2008 23:32:55 +0000
parents e3d5c2e9ec89
children a9dc0e7c3f2b
line wrap: on
line diff
--- a/lisp/composite.el	Tue Dec 30 21:59:52 2008 +0000
+++ b/lisp/composite.el	Tue Dec 30 23:32:55 2008 +0000
@@ -445,6 +445,7 @@
 (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))))