forked from mirrors/org-mode
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 534633d508
.
This commit is contained in:
parent
a12d15df98
commit
92ac00051a
|
@ -936,7 +936,7 @@ Do nothing in an indirect buffer."
|
||||||
(defalias 'org-persist-associated-files:index #'ignore)
|
(defalias 'org-persist-associated-files:index #'ignore)
|
||||||
(defalias 'org-persist-associated-files:version #'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'."
|
"List file CONTAINER associated files of COLLECTION in `org-persist-directory'."
|
||||||
(let ((file (org-persist-read container (plist-get collection :associated))))
|
(let ((file (org-persist-read container (plist-get collection :associated))))
|
||||||
(when (file-exists-p file)
|
(when (file-exists-p file)
|
||||||
|
|
Loading…
Reference in a new issue