]> git.eshelyaron.com Git - emacs.git/commitdiff
(create-glyph): Don't use slots that look like ASCII.
authorKarl Heuer <kwzh@gnu.org>
Sat, 19 Mar 1994 03:00:25 +0000 (03:00 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 19 Mar 1994 03:00:25 +0000 (03:00 +0000)
lisp/disp-table.el

index d162d4ef8bcbcbbbaa5bbe980805a7d5bf488f14..fdf6a5acbb293592e72b4207aac07c12263f61e3 100644 (file)
 (defun create-glyph (string)
   (if (= (length glyph-table) 65536)
       (error "No free glyph codes remain"))
+  ;; Don't use slots that correspond to ASCII characters.
+  (if (= (length glyph-table) 32)
+      (setq glyph-table (vconcat glyph-table (make-vector 224 nil))))
   (setq glyph-table (vconcat glyph-table (list string)))
   (1- (length glyph-table)))