Mercurial > emacs
changeset 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 | 418feab1639c |
children | 90729d756198 |
files | lisp/term/w32-win.el |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term/w32-win.el Tue Feb 02 02:26:12 1999 +0000 +++ b/lisp/term/w32-win.el Tue Feb 02 02:57:50 1999 +0000 @@ -707,7 +707,11 @@ (create-fontset-from-fontset-spec (concat fontset ", ascii:" font) styles) ))))) - (w32-create-initial-fontsets))) + ;; This cannot be run yet, as creating fontsets requires a + ;; Window to be initialised so the fonts can be listed. + ;; Add it to a hook so it gets run later. + (add-hook 'before-init-hook 'w32-create-initial-fontsets) + )) ;; Apply a geometry resource to the initial frame. Put it at the end ;; of the alist, so that anything specified on the command line takes