Mercurial > emacs
comparison lisp/term/w32-win.el @ 24246:f67cc15ab138
term/w32-win.el (w32-create-initial-fontsets): Back out previous
change, invoke from before-init-hook.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Tue, 02 Feb 1999 02:57:50 +0000 |
parents | 36652d90b38f |
children | ce51d492b1ab |
comparison
equal
deleted
inserted
replaced
24245:418feab1639c | 24246:f67cc15ab138 |
---|---|
705 (aref xlfd-temp xlfd-regexp-slant-subnum))))) | 705 (aref xlfd-temp xlfd-regexp-slant-subnum))))) |
706 (setq fontset (x-compose-font-name xlfd-fields)) | 706 (setq fontset (x-compose-font-name xlfd-fields)) |
707 (create-fontset-from-fontset-spec | 707 (create-fontset-from-fontset-spec |
708 (concat fontset ", ascii:" font) styles) | 708 (concat fontset ", ascii:" font) styles) |
709 ))))) | 709 ))))) |
710 (w32-create-initial-fontsets))) | 710 ;; This cannot be run yet, as creating fontsets requires a |
711 ;; Window to be initialised so the fonts can be listed. | |
712 ;; Add it to a hook so it gets run later. | |
713 (add-hook 'before-init-hook 'w32-create-initial-fontsets) | |
714 )) | |
711 | 715 |
712 ;; Apply a geometry resource to the initial frame. Put it at the end | 716 ;; Apply a geometry resource to the initial frame. Put it at the end |
713 ;; of the alist, so that anything specified on the command line takes | 717 ;; of the alist, so that anything specified on the command line takes |
714 ;; precedence. | 718 ;; precedence. |
715 (let* ((res-geometry (x-get-resource "geometry" "Geometry")) | 719 (let* ((res-geometry (x-get-resource "geometry" "Geometry")) |