X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/0c93aa38b3f5333d7b026e6cc1e0c9d313a4da71..f1e06f7bffc1407f7e597f714b2969fc6d1d8eed:/lisp/ps-bdf.el diff --git a/lisp/ps-bdf.el b/lisp/ps-bdf.el index 477aee1b2d..12e9541b4c 100644 --- a/lisp/ps-bdf.el +++ b/lisp/ps-bdf.el @@ -1,6 +1,6 @@ ;;; ps-bdf.el --- BDF font file handler for ps-print -;; Copyright (C) 1998-1999, 2001-2012 Free Software Foundation, Inc. +;; Copyright (C) 1998-1999, 2001-2014 Free Software Foundation, Inc. ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, ;; 2008, 2009, 2010, 2011 ;; National Institute of Advanced Industrial Science and Technology (AIST) @@ -91,12 +91,7 @@ If BDFNAME doesn't exist, return nil." (insert-file-contents bdfname) buf)))) -(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")) +(defvar bdf-cache-file (locate-user-emacs-file "bdfcache.el" ".bdfcache.el") "Name of cache file which contains information of `BDF' font files.") (defvar bdf-cache nil