Function: registry-lookup

registry-lookup is a byte-compiled function defined in registry.el.gz.

Signature

(registry-lookup ARG &rest ARGS)

Implementations

(registry-lookup (DB registry-db) KEYS) in `registry.el'.

Search for KEYS in the registry-db DB. Returns an alist of the key followed by the entry in a list, not a cons cell.

Source Code

;; Defined in /usr/src/emacs/lisp/registry.el.gz
(cl-defmethod registry-lookup ((db registry-db) keys)
  "Search for KEYS in the registry-db DB.
Returns an alist of the key followed by the entry in a list, not a cons cell."
  (let ((data (oref db data)))
    (delq nil
	  (mapcar
	   (lambda (k)
	     (when (gethash k data)
	       (list k (gethash k data))))
	   keys))))