summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2002-01-17 19:24:39 +0000
committerJason Rumney <jasonr@gnu.org>2002-01-17 19:24:39 +0000
commit09743f4385a745da01a11ba0215e3c02f35e3cfd (patch)
treea0f001c4189504b10e56b0ff0f32c17e6f673941 /lisp/term
parent1954fe973c57ddb6b5810074d2510629064e95f1 (diff)
downloademacs-09743f4385a745da01a11ba0215e3c02f35e3cfd.tar.gz
Only require fontset when new-fontset is bound.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/w32-win.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 2f7cb28608c..a31cf3c9d76 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -76,7 +76,8 @@
(require 'faces)
(require 'select)
(require 'menu-bar)
-(require 'fontset)
+(if (fboundp 'new-fontset)
+ (require 'fontset))
;; The following definition is used for debugging scroll bar events.
;(defun w32-handle-scroll-bar-event (event) (interactive "e") (princ event))