[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/excorporate 58d808a 1/2: Do not hard code diary directo
From: |
Thomas Fitzsimmons |
Subject: |
[elpa] externals/excorporate 58d808a 1/2: Do not hard code diary directory |
Date: |
Sat, 23 Jan 2021 22:05:31 -0500 (EST) |
branch: externals/excorporate
commit 58d808a71893ec2a953151eb80f1ef88f25ef80f
Author: Gunnar Horrigmo <horrigmo@runbox.no>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Do not hard code diary directory
* excorporate-diary.el (excorporate-diary-today-file): Use
`locate-user-emacs-file' instead of hardcoded paths to diary files.
(excorporate-diary-transient-file): Likewise. (Bug#45623)
---
excorporate-diary.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/excorporate-diary.el b/excorporate-diary.el
index 833df30..d936f64 100644
--- a/excorporate-diary.el
+++ b/excorporate-diary.el
@@ -76,13 +76,13 @@ respectively."
#'exco-diary-icalendar--add-diary-entry-around))
(defvar excorporate-diary-today-file
- "~/.emacs.d/excorporate/diary-excorporate-today"
+ (locate-user-emacs-file "excorporate/diary-excorporate-today")
"The diary file where Excorporate should save today's meetings.
This file will be #include'd in `diary-file' by
`excorporate-diary-enable'.")
(defvar excorporate-diary-transient-file
- "~/.emacs.d/excorporate/diary-excorporate-transient"
+ (locate-user-emacs-file "excorporate/diary-excorporate-transient")
"The diary file where Excorporate should save retrieved meetings.
This file will be #include'd in `diary-file' by
`excorporate-diary-enable'.")