emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 0e912bd 1/2: org-persist.el: Make sure that org-per


From: ELPA Syncer
Subject: [elpa] externals/org 0e912bd 1/2: org-persist.el: Make sure that org-persist-path is absolute
Date: Mon, 18 Oct 2021 01:57:25 -0400 (EDT)

branch: externals/org
commit 0e912bd2881b75de337d11ce2f389d7cc3d8a995
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    org-persist.el: Make sure that org-persist-path is absolute
---
 lisp/org-persist.el | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index 78347e6..e58a5f9 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -35,12 +35,13 @@
 (declare-function org-next-visible-heading "org" (arg))
 (declare-function org-at-heading-p "org" (&optional invisible-not-ok))
 
-(defvar org-persist-path (org-file-name-concat
-               (let ((cache-dir (xdg-cache-home)))
-                 (if (seq-empty-p cache-dir)
-                     user-emacs-directory
-                   cache-dir))
-               "org-persist/")
+(defvar org-persist-path (expand-file-name
+               (org-file-name-concat
+                (let ((cache-dir (xdg-cache-home)))
+                  (if (seq-empty-p cache-dir)
+                      user-emacs-directory
+                    cache-dir))
+                "org-persist/"))
   "Directory where the data is stored.")
 
 (defvar org-persist-index-file "index"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]