Function: table--region-in-cell-p

table--region-in-cell-p is a byte-compiled function defined in table.el.gz.

Signature

(table--region-in-cell-p BEG END)

Documentation

Return t when location BEG and END are in a valid table cell in current buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
(defun table--region-in-cell-p (beg end)
  "Return t when location BEG and END are in a valid table cell in current buffer."
  (and (table--at-cell-p (min beg end))
       (save-excursion
	 (let ((cell-beg (progn (goto-char beg) (table--probe-cell))))
	   (and cell-beg
		(equal cell-beg (progn (goto-char end) (table--probe-cell))))))))