1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00

(set-face-font): For now, don't call

resolve-fontset-name on Windows.
(set-face-font-auto): Likewise.
This commit is contained in:
Richard M. Stallman 1998-06-27 04:42:03 +00:00
parent 6582d61ec5
commit d25f052025

View file

@ -149,7 +149,8 @@ If the optional FRAME argument is provided, change only
in that frame; otherwise change each frame."
(interactive (internal-face-interactive "font"))
(if (stringp font)
(setq font (or (resolve-fontset-name font)
(setq font (or (and (not (eq window-system 'w32))
(resolve-fontset-name font))
(x-resolve-font-name font 'default frame))))
(internal-set-face-1 face 'font font 3 frame)
;; Record that this face's font was set explicitly, not automatically,
@ -164,7 +165,8 @@ If the optional FRAME argument is provided, change only
in that frame; otherwise change each frame."
(interactive (internal-face-interactive "font"))
(if (stringp font)
(setq font (or (resolve-fontset-name font)
(setq font (or (and (not (eq window-system 'w32))
(resolve-fontset-name font))
(x-resolve-font-name font 'default frame))))
(internal-set-face-1 face 'font font 3 frame))