changeset 81353:4eeefa5ebe2c

(url-configuration-directory): Use user-emacs-directory.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 13 Jun 2007 00:07:32 +0000
parents 8174b03e25ad
children 07f86b971ef5
files lisp/url/url.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/url/url.el	Wed Jun 13 00:06:34 2007 +0000
+++ b/lisp/url/url.el	Wed Jun 13 00:07:32 2007 +0000
@@ -50,7 +50,8 @@
 (defvar url-configuration-directory
   (cond
    ((file-directory-p "~/.url") "~/.url")
-   ((file-directory-p "~/.emacs.d") "~/.emacs.d/url")
+   ((file-directory-p user-emacs-directory)
+    (concat user-emacs-directory "url"))
    (t "~/.url")))
 
 (defun url-do-setup ()