Function: kcell-view:line

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

Signature

(kcell-view:line &optional POS)

Documentation

Return contents of cell line at point or optional POS as a string.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kview.el
(defun kcell-view:line (&optional pos)
  "Return contents of cell line at point or optional POS as a string."
  (save-excursion
    (when pos
      (goto-char pos))
    (if (kview:valid-position-p)
	(buffer-substring (kotl-mode:beginning-of-line) (kotl-mode:to-end-of-line))
      (error "(kcell-view:line): Invalid position, `%d'" (point)))))