Function: kview:map-cells

kview:map-cells is a byte-compiled function defined in kview.el.

Signature

(kview:map-cells FUNC KVIEW CELL-REF-LIST)

Documentation

Apply FUNC within KVIEW to each valid cell reference in CELL-REFERENCE-LIST.

Return a list of the results of calling FUNC, nil for each invalid cell reference.

FUNC takes no arguments and operates on the cell at point.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kview.el
(defun kview:map-cells (func kview cell-ref-list)
  "Apply FUNC within KVIEW to each valid cell reference in CELL-REFERENCE-LIST.
Return a list of the results of calling FUNC, nil for each
invalid cell reference.

FUNC takes no arguments and operates on the cell at point."
  (with-current-buffer (kview:buffer kview)
    (save-excursion
      (mapcar (lambda (cell-ref)
		(when (kview:goto-cell-id cell-ref)
		  (funcall func)))
	      cell-ref-list))))