diff options
| author | Stefan Monnier | 2005-12-21 20:04:41 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-12-21 20:04:41 +0000 |
| commit | 208d45772d458f8ab025663040cbd5f34f4ff54d (patch) | |
| tree | 00950df23fdcde5a8aea776b5c27cece15193030 | |
| parent | 398de7181d468e168b9face80f5a4015aebf5abd (diff) | |
| download | emacs-208d45772d458f8ab025663040cbd5f34f4ff54d.tar.gz emacs-208d45772d458f8ab025663040cbd5f34f4ff54d.zip | |
(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 @@ | |||
| 48 | 48 | ||
| 49 | ;; Fixme: customize? convert-standard-filename? | 49 | ;; Fixme: customize? convert-standard-filename? |
| 50 | ;;;###autoload | 50 | ;;;###autoload |
| 51 | (defvar url-configuration-directory "~/.url") | 51 | (defvar url-configuration-directory |
| 52 | (cond | ||
| 53 | ((file-directory-p "~/.url") "~/.url") | ||
| 54 | ((file-directory-p "~/.emacs.d") "~/.emacs.d/url") | ||
| 55 | (t "~/.url"))) | ||
| 52 | 56 | ||
| 53 | (defun url-do-setup () | 57 | (defun url-do-setup () |
| 54 | "Setup the url package. | 58 | "Setup the url package. |