Mercurial > emacs
comparison lisp/url/url.el @ 67722:3a3904075d3d
(url-configuration-directory): Use ~/.emacs.d if possible.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 21 Dec 2005 20:04:41 +0000 |
parents | 7a5248410af9 |
children | 5a29e54d6794 d0eee3282e6b |
comparison
equal
deleted
inserted
replaced
67721:d372bc6eff1d | 67722:3a3904075d3d |
---|---|
46 (require 'url-parse) | 46 (require 'url-parse) |
47 (require 'url-util) | 47 (require 'url-util) |
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. |
55 This is to avoid conflict with user settings if URL is dumped with | 59 This is to avoid conflict with user settings if URL is dumped with |
56 Emacs." | 60 Emacs." |