Function: org-persist-load:generic
org-persist-load:generic is a macro defined in org-persist.el.gz.
Signature
(org-persist-load:generic CONTAINER REFERENCE-DATA COLLECTION)
Documentation
Load the data stored in CONTAINER for side effects.
REFERENCE-DATA is associated with CONTAINER in the persist file. COLLECTION is the plist holding data collection.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-persist.el.gz
;;;; Applying container data for side effects.
(defmacro org-persist-load:generic (container reference-data collection)
"Load the data stored in CONTAINER for side effects.
REFERENCE-DATA is associated with CONTAINER in the persist file.
COLLECTION is the plist holding data collection."
`(let* ((container (org-persist--normalize-container ,container))
(load-func-symbol (intern (format "org-persist-load:%s" (car container)))))
(setf ,collection (plist-put ,collection :last-access (float-time)))
(setf ,collection (plist-put ,collection :last-access-hr (format-time-string "%FT%T%z" (float-time))))
(unless (fboundp load-func-symbol)
(error "org-persist: Load function %s not defined"
load-func-symbol))
(funcall load-func-symbol container ,reference-data ,collection)))