;;; url.el --- Uniform Resource Locator retrieval tool
;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004,
-;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; Author: Bill Perry <wmperry@gnu.org>
;; Keywords: comm, data, processes, hypermedia
(require 'url-util)
-;; FIXME convert-standard-filename?
(defcustom url-configuration-directory
- (if (and (file-directory-p user-emacs-directory)
- (not (file-directory-p "~/.url")))
- (expand-file-name "url" user-emacs-directory)
- "~/.url")
+ (locate-user-emacs-file "url/" ".url/")
"Directory used by the URL package for cookies, history, etc."
:type 'directory
:group 'url)