Function: kcell-view:end-contents

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

Signature

(kcell-view:end-contents &optional POS)

Documentation

Return end position of cell contents from optional POS or point.

Excludes blank lines following cell contents.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kview.el
(defun kcell-view:end-contents (&optional pos)
  "Return end position of cell contents from optional POS or point.
Excludes blank lines following cell contents."
  (save-excursion
    (when pos
      (goto-char pos))
    (goto-char (kcell-view:end))
    (skip-chars-backward "\n\r")
    (point)))