mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(create-glyph): Don't use slots that look like ASCII.
This commit is contained in:
parent
49b0dd7595
commit
03fd83c58a
@ -123,6 +123,9 @@
|
||||
(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)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user