aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/disp-table.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/disp-table.el b/lisp/disp-table.el
index 38f3ed6708a..d356be12d5b 100644
--- a/lisp/disp-table.el
+++ b/lisp/disp-table.el
@@ -198,12 +198,12 @@ X frame."
198;;;###autoload 198;;;###autoload
199(defun glyph-char (glyph) 199(defun glyph-char (glyph)
200 "Return the character of glyph code GLYPH." 200 "Return the character of glyph code GLYPH."
201 (logand glyph #x7ffff)) 201 (logand glyph #x3fffff))
202 202
203;;;###autoload 203;;;###autoload
204(defun glyph-face (glyph) 204(defun glyph-face (glyph)
205 "Return the face of glyph code GLYPH, or nil if glyph has default face." 205 "Return the face of glyph code GLYPH, or nil if glyph has default face."
206 (let ((face-id (lsh glyph -19))) 206 (let ((face-id (lsh glyph -22)))
207 (and (> face-id 0) 207 (and (> face-id 0)
208 (car (delq nil (mapcar (lambda (face) 208 (car (delq nil (mapcar (lambda (face)
209 (and (eq (get face 'face) face-id) 209 (and (eq (get face 'face) face-id)