diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-12-21 20:04:41 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-12-21 20:04:41 +0000 |
commit | 208d45772d458f8ab025663040cbd5f34f4ff54d (patch) | |
tree | 00950df23fdcde5a8aea776b5c27cece15193030 | |
parent | 398de7181d468e168b9face80f5a4015aebf5abd (diff) | |
download | emacs-208d45772d458f8ab025663040cbd5f34f4ff54d.tar.gz |
(url-configuration-directory): Use ~/.emacs.d if possible.
-rw-r--r-- | lisp/url/url.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/url/url.el b/lisp/url/url.el index 81d2d39c281..296b2b9f868 100644 --- a/lisp/url/url.el +++ b/lisp/url/url.el @@ -48,7 +48,11 @@ ;; Fixme: customize? convert-standard-filename? ;;;###autoload -(defvar url-configuration-directory "~/.url") +(defvar url-configuration-directory + (cond + ((file-directory-p "~/.url") "~/.url") + ((file-directory-p "~/.emacs.d") "~/.emacs.d/url") + (t "~/.url"))) (defun url-do-setup () "Setup the url package. |