forked from mirrors/org-mode
* lisp/org-element.el: Fix checkdoc warnings
(org-element--cache-persist-after-read): Make docstring less than 80 columns wide. * lisp/org-persist.el (org-persist-load): Document all the function arguments.
This commit is contained in:
parent
d285f72f9d
commit
5bbd58d34f
|
@ -7631,8 +7631,9 @@ consistent with the cache."
|
|||
|
||||
(defun org-element--cache-persist-after-read (container &optional associated)
|
||||
"Setup restored cache for CONTAINER and ASSOCIATED.
|
||||
Re-fill :buffer properties for cache elements (buffer objects cannot be written onto disk).
|
||||
Also, perform some consistency checks to prevent loading corrupted cache."
|
||||
Re-fill :buffer properties for cache elements (buffer objects cannot
|
||||
be written onto disk). Also, perform some consistency checks to
|
||||
prevent loading corrupted cache."
|
||||
(when (and (plist-get associated :file)
|
||||
(get-file-buffer (plist-get associated :file)))
|
||||
(with-current-buffer (get-file-buffer (plist-get associated :file))
|
||||
|
|
|
@ -1036,7 +1036,8 @@ CONTAINER as well. For example:
|
|||
|
||||
(cl-defun org-persist-load (container &optional associated hash-must-match &key read-related)
|
||||
"Load CONTAINER data for ASSOCIATED.
|
||||
The arguments have the same meaning as in `org-persist-read'."
|
||||
The arguments CONTAINER, ASSOCIATED, HASH-MUST-MATCH, and READ-RELATED
|
||||
have the same meaning as in `org-persist-read'."
|
||||
(org-persist-read container associated hash-must-match t :read-related read-related))
|
||||
|
||||
(defun org-persist-load-all (&optional associated)
|
||||
|
|
Loading…
Reference in New Issue