branch: externals/org
commit 92ac00051a26f3f5c28914ad9757a05ebc0ff54d
Author: TEC <[email protected]>
Commit: TEC <[email protected]>
org-persist: Fix omitted argument
* lisp/org-persist.el (org-persist-associated-files:file): Add the
"container" argument used but omitted from the function declaration of
`org-persist-associated-files:file' in 534633d508d3.
---
lisp/org-persist.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index f215310a27..aff99f8136 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -936,7 +936,7 @@ Do nothing in an indirect buffer."
(defalias 'org-persist-associated-files:index #'ignore)
(defalias 'org-persist-associated-files:version #'ignore)
-(defun org-persist-associated-files:file (_ collection)
+(defun org-persist-associated-files:file (container collection)
"List file CONTAINER associated files of COLLECTION in
`org-persist-directory'."
(let ((file (org-persist-read container (plist-get collection :associated))))
(when (file-exists-p file)