Commit 208d4577 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(url-configuration-directory): Use ~/.emacs.d if possible.

parent 398de718
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment