branch: externals/org commit 775c44773ad719512919febe30ec704fb8f73299 Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
lisp/org-persist.el: Fix file saving example --- lisp/org-persist.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-persist.el b/lisp/org-persist.el index e690254fae..5adde925be 100644 --- a/lisp/org-persist.el +++ b/lisp/org-persist.el @@ -59,7 +59,8 @@ ;; has been removed. ;; ;; 3. Temporarily cache a file, including TRAMP path to disk: -;; (org-persist-write 'file "/path/to/file") +;; (org-persist-write `(file "/path/to/file")) +;; (org-persist-read `(file "/path/to/file")) ; => get path to the cached file copy ;; ;; 4. Cache file or URL while some other file exists. ;; (org-persist-register '(url "https://static.fsf.org/common/img/logo-new.png") '(:file "/path to the other file") :expiry 'never :write-immediately t)