[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org fd162eb9be: Merge branch 'bugfix'
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org fd162eb9be: Merge branch 'bugfix' |
Date: |
Mon, 26 Dec 2022 12:57:58 -0500 (EST) |
branch: externals/org
commit fd162eb9beff996eff097b901ba6612f28c232ed
Merge: adb3591436 de83f548d9
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
Merge branch 'bugfix'
---
lisp/org-persist.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index 36d7741dff..3ef4eb24af 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -657,9 +657,10 @@ COLLECTION is the plist holding data collection."
(file-copy (org-file-name-concat
org-persist-directory
(format "%s-%s.%s" persist-file (md5 path) ext))))
- (unless (file-exists-p (file-name-directory file-copy))
- (make-directory (file-name-directory file-copy) t))
- (copy-file path file-copy 'overwrite)
+ (unless (file-exists-p file-copy)
+ (unless (file-exists-p (file-name-directory file-copy))
+ (make-directory (file-name-directory file-copy) t))
+ (copy-file path file-copy 'overwrite))
(format "%s-%s.%s" persist-file (md5 path) ext)))))
(defun org-persist-write:url (c collection)