# HG changeset patch # User Kenichi Handa # Date 1180316178 0 # Node ID 8c3bbc3bb044b1ac457d9e84746a26caf75a31d5 # Parent 03ec96a627ba8f4906d1e03690faa90e9ba2d34f (make-glyph-code): Fix for a new character code space (22-bit). diff -r 03ec96a627ba -r 8c3bbc3bb044 lisp/disp-table.el --- a/lisp/disp-table.el Sat May 26 21:55:39 2007 +0000 +++ b/lisp/disp-table.el Mon May 28 01:36:18 2007 +0000 @@ -190,9 +190,9 @@ (defun make-glyph-code (char &optional face) "Return a glyph code representing char CHAR with face FACE." ;; Due to limitations on Emacs integer values, faces with - ;; face id greater that 4091 are silently ignored. + ;; face id greater that 512 are silently ignored. (if (and face (<= (face-id face) #xfff)) - (logior char (lsh (face-id face) 19)) + (logior char (lsh (face-id face) 22)) char)) ;;;###autoload