Function: kcell-view:operate

kcell-view:operate is a byte-compiled function defined in kview.el.

Signature

(kcell-view:operate FUNCTION &optional START END)

Documentation

Invoke FUNCTION with view restricted to current cell contents.

Optional START and END are start and endpoints of cell to use.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kview.el
(defun kcell-view:operate (function &optional start end)
  "Invoke FUNCTION with view restricted to current cell contents.
Optional START and END are start and endpoints of cell to use."
  (save-restriction
    (narrow-to-region (or start (kcell-view:start))
		      (or end (kcell-view:end-contents)))
    (funcall function)))