Function: org-table-recognize-table.el

org-table-recognize-table.el is a byte-compiled function defined in org-compat.el.

This function is obsolete since 9.0; please notify Org mailing list if you use this function.

Signature

(org-table-recognize-table.el)

Documentation

If there is a table.el table nearby, recognize it and move into it.

Source Code

;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-compat.el
;;;; Functions unused in Org core.
(defun org-table-recognize-table.el ()
  "If there is a table.el table nearby, recognize it and move into it."
  (when (org-at-table.el-p)
    (forward-line 0)
    (unless (or (looking-at org-table-dataline-regexp)
                (not (looking-at org-table1-hline-regexp)))
      (forward-line)
      (when (looking-at org-table-any-border-regexp)
        (forward-line -2)))
    (if (re-search-forward "|" (org-table-end t) t)
        (progn
          (require 'table)
          (if (table--at-cell-p (point)) t
            (message "recognizing table.el table...")
            (table-recognize-table)
            (message "recognizing table.el table...done")))
      (error "This should not happen"))))