Hi,

Not sure if this is of any importance, but since the variable
user-emacs-directory (a defconst) exists, maybe org-mode could use it
instead of "~/.emacs.d". It seems only relevant for MS-DOS systems,
though.

Nico.

>From 4fb0ecaef07ca9d10e5a57bef19f3201a2c90097 Mon Sep 17 00:00:00 2001
From: Nicolas Richard <theonewiththeevill...@yahoo.fr>
Date: Wed, 9 Jan 2013 16:41:12 +0100

* lisp/org-id.el (org-id-locations-file):
* contrib/lisp/org-track.el (org-track-directory):
* lisp/org-clock.el (org-clock-persist-file): Fix hardcoded reference to 
"~/.emacs.d".
---
 contrib/lisp/org-track.el | 2 +-
 lisp/org-clock.el         | 2 +-
 lisp/org-id.el            | 2 +-
 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
-- 
1.8.1



Reply via email to