Function: hyrolo-google-contacts-insert-generic-list

hyrolo-google-contacts-insert-generic-list is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo-google-contacts-insert-generic-list ITEMS TITLE &optional GET-VALUE)

Documentation

Insert a text for rendering ITEMS with TITLE.

Use GET-VALUE fuction to retrieve the value from the cdr of the item, otherwise just use the cdr of the item.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
;; Derived from google-contacts.el.
(defun hyrolo-google-contacts-insert-generic-list (items title &optional get-value)
  "Insert a text for rendering ITEMS with TITLE.
Use GET-VALUE fuction to retrieve the value from the cdr of the item,
otherwise just use the cdr of the item."
  (when items
    (insert "\n" (google-contacts-margin-element) (concat title ":\n"))
    (dolist (item items)
      (insert (google-contacts-margin-element) "  "
              (concat (car item) ":") " "
	      (if get-value
                  (funcall get-value item)
                (cdr item))
              "\n"))))