Commit f0c8b3ef authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(x-complement-fontset-spec): If ASCII

font is specified in FONTLIST, don't substitute it for the
resolved name.
parent 490822ff
......@@ -320,10 +320,9 @@ automatically."
;; Be sure that ASCII font is available.
(let ((slot (or (assq 'ascii fontlist) (assq 'ascii new-fontlist)))
ascii-font)
(if (setq ascii-font (condition-case nil
(x-resolve-font-name (cdr slot))
(error nil)))
(setcdr slot ascii-font))
(setq ascii-font (condition-case nil
(x-resolve-font-name (cdr slot))
(error nil)))
(if ascii-font
(let ((l x-font-name-charset-alist))
;; If the ASCII font can also be used for another
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment