diff --git a/lisp/disp-table.el b/lisp/disp-table.el index d162d4ef8bc..fdf6a5acbb2 100644 --- a/lisp/disp-table.el +++ b/lisp/disp-table.el @@ -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)))