aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii1999-03-07 14:12:35 +0000
committerEli Zaretskii1999-03-07 14:12:35 +0000
commit0a51cf3d98e4d135f9fcd1e9f2975c6d74643a73 (patch)
tree4b22381f0d0d974cfba7108ea20ab79064c363a3
parent3e3cf0a7972f7390a3489e3e5b2c0d2c2ffa1d3d (diff)
downloademacs-0a51cf3d98e4d135f9fcd1e9f2975c6d74643a73.tar.gz
emacs-0a51cf3d98e4d135f9fcd1e9f2975c6d74643a73.zip
(bdf-directory-list): Fix last change.
-rw-r--r--lisp/ps-bdf.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ps-bdf.el b/lisp/ps-bdf.el
index 7ef0ad30d6b..bf9b69ddef5 100644
--- a/lisp/ps-bdf.el
+++ b/lisp/ps-bdf.el
@@ -36,11 +36,17 @@
36;;;###autoload 36;;;###autoload
37(defvar bdf-directory-list 37(defvar bdf-directory-list
38 (if (eq system-type 'ms-dos) 38 (if (eq system-type 'ms-dos)
39 (list (expand-file-name "../fonts/bdf" invocation-directory)) 39 (list (expand-file-name "fonts/bdf" installation-directory))
40 '("/usr/local/share/emacs/fonts/bdf")) 40 '("/usr/local/share/emacs/fonts/bdf"))
41 "*List of directories to search for `BDF' font files. 41 "*List of directories to search for `BDF' font files.
42The default value is '("/usr/local/share/emacs/fonts/bdf").") 42The default value is '("/usr/local/share/emacs/fonts/bdf").")
43 43
44;; MS-DOS users like to move the binary around after it's built, but
45;; the value above is computed at loadup time.
46(and (eq system-type 'ms-dos)
47 (setq bdf-directory-list
48 (list (expand-file-name "fonts/bdf" installation-directory))))
49
44(defun bdf-expand-file-name (bdfname) 50(defun bdf-expand-file-name (bdfname)
45 "Return an abosolute path name of a `BDF' font file BDFNAME. 51 "Return an abosolute path name of a `BDF' font file BDFNAME.
46It searches directories listed in the variable `bdf-directory-list' 52It searches directories listed in the variable `bdf-directory-list'