convert-standard-filename doesn't guarantee that the .el extension
is preserved.
2001-09-16 Eli Zaretskii <eliz@is.elta.co.il>
+ * ps-bdf.el (bdf-cache-file) <ms-dos>: Use _bdfcache.el, since
+ convert-standard-filename doesn't guarantee that the .el extension
+ is preserved.
+
* dos-fns.el (convert-standard-filename): Replace invalid
characters only after converting dash/underscore to a period.
(original-make-auto-save-file-name): New.
(insert-file-contents file-name)
buf)))))
-(defvar bdf-cache-file (convert-standard-filename "~/.bdfcache.el")
+(defvar bdf-cache-file (if (eq system-type 'ms-dos)
+ ;; convert-standard-filename doesn't
+ ;; guarantee that the .el extension will be
+ ;; preserved.
+ "~/_bdfcache.el"
+ (convert-standard-filename "~/.bdfcache.el"))
"Name of cache file which contains information of `BDF' font files.")
(defvar bdf-cache nil