Function: table-recognize-table
table-recognize-table is an autoloaded, interactive and byte-compiled
function defined in table.el.gz.
Signature
(table-recognize-table &optional ARG)
Documentation
Recognize a table at point.
If the optional numeric prefix argument ARG is negative the table becomes inactive, meaning the table becomes plain text and loses all the table specific features.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
;;;###autoload
(defun table-recognize-table (&optional arg)
"Recognize a table at point.
If the optional numeric prefix argument ARG is negative the table
becomes inactive, meaning the table becomes plain text and loses all
the table specific features."
(interactive "P")
(setq arg (prefix-numeric-value arg))
(let ((unrecognize (< arg 0))
(origin-cell (table--probe-cell))
(inhibit-read-only t))
(if origin-cell
(save-excursion
(while
(progn
(table-forward-cell 1 nil unrecognize)
(let ((cell (table--probe-cell)))
(if (and cell table-detect-cell-alignment)
(table--detect-cell-alignment cell))
(and cell (not (equal cell origin-cell))))))))))