Function: registry-lookup-secondary-value
registry-lookup-secondary-value is a byte-compiled function defined in
registry.el.gz.
Signature
(registry-lookup-secondary-value ARG &rest ARGS)
Implementations
((db registry-db) tracksym val &optional set) in `registry.el'.
Search for TRACKSYM with value VAL in the registry-db DB. When SET is not nil, set it for VAL (use t for an empty list).
Source Code
;; Defined in /usr/src/emacs/lisp/registry.el.gz
(cl-defmethod registry-lookup-secondary-value ((db registry-db) tracksym val
&optional set)
"Search for TRACKSYM with value VAL in the registry-db DB.
When SET is not nil, set it for VAL (use t for an empty list)."
;; either we're asked for creation or there should be an existing index
(when (or set (registry-lookup-secondary db tracksym))
;; set the entry if requested,
(when set
(puthash val (if (eq t set) '() set)
(registry-lookup-secondary db tracksym t)))
(gethash val (registry-lookup-secondary db tracksym))))