(bdf-directory-list): Use the value relative to
authorEli Zaretskii <eliz@gnu.org>
Fri, 29 Jun 2001 17:50:27 +0000 (17:50 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 29 Jun 2001 17:50:27 +0000 (17:50 +0000)
installation-directory for MS-Windows as well.

lisp/ps-bdf.el

index 241f4d9..7335881 100644 (file)
 
 ;;;###autoload
 (defvar bdf-directory-list
-  (if (eq system-type 'ms-dos)
+  (if (memq system-type '(ms-dos windows-nt))
       (list (expand-file-name "fonts/bdf" installation-directory))
     '("/usr/local/share/emacs/fonts/bdf"))
   "*List of directories to search for `BDF' font files.
 The default value is '(\"/usr/local/share/emacs/fonts/bdf\").")
 
-;; MS-DOS users like to move the binary around after it's built, but
-;; the value above is computed at load-up time.
-(and (eq system-type 'ms-dos)
+;; MS-DOS and MS-Windows users like to move the binary around after
+;; it's built, but the value above is computed at load-up time.
+(and (memq system-type '(ms-dos windows-nt))
      (setq bdf-directory-list
           (list (expand-file-name "fonts/bdf" installation-directory))))