summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Richard <theonewiththeevillook@yahoo.fr>2013-01-09 15:41:12 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-01-09 16:59:17 (GMT)
commitf82004840a20538452000026c12db28704c6dac7 (patch)
tree3d2ca748bb1668ce2ce0287b6e45ac28172a1c75
parentd1d7da42677b3f9220a900ac955adc1859ff8c43 (diff)
downloadorg-mode-f82004840a20538452000026c12db28704c6dac7.zip
org-mode-f82004840a20538452000026c12db28704c6dac7.tar.gz
* org-id.el (org-id-locations-file):
* org-clock.el (org-clock-persist-file): Fix hardcoded reference to "~/.emacs.d". * contrib/lisp/org-track.el (org-track-directory): Fix hardcoded reference to "~/.emacs.d".
-rw-r--r--contrib/lisp/org-track.el2
-rw-r--r--lisp/org-clock.el2
-rw-r--r--lisp/org-id.el2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/lisp/org-track.el b/contrib/lisp/org-track.el
index d058135..a44472e 100644
--- a/contrib/lisp/org-track.el
+++ b/contrib/lisp/org-track.el
@@ -72,7 +72,7 @@ time to time."
:version "22.1"
:group 'org)
-(defcustom org-track-directory "~/.emacs.d/org/lisp"
+(defcustom org-track-directory (concat user-emacs-directory "org/lisp")
"Directory where your org-mode/ directory lives.
If that directory does not exist, it will be created."
:type 'directory)
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 823eac8..92168bc 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -194,7 +194,7 @@ Emacs initialization file."
(const :tag "No persistence" nil)))
(defcustom org-clock-persist-file (convert-standard-filename
- "~/.emacs.d/org-clock-save.el")
+ (concat user-emacs-directory "org-clock-save.el"))
"File to save clock data to."
:group 'org-clock
:type 'string)
diff --git a/lisp/org-id.el b/lisp/org-id.el
index 5d8e5b0..b35ea5e 100644
--- a/lisp/org-id.el
+++ b/lisp/org-id.el
@@ -186,7 +186,7 @@ the link."
:type 'boolean)
(defcustom org-id-locations-file (convert-standard-filename
- "~/.emacs.d/.org-id-locations")
+ (concat user-emacs-directory ".org-id-locations"))
"The file for remembering in which file an ID was defined.
This variable is only relevant when `org-id-track-globally' is set."
:group 'org-id