From 92ac00051a26f3f5c28914ad9757a05ebc0ff54d Mon Sep 17 00:00:00 2001 From: TEC Date: Mon, 12 Dec 2022 01:08:23 +0800 Subject: [PATCH] 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 f215310a2..aff99f813 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)