Function: vtable-goto-table

vtable-goto-table is a byte-compiled function defined in vtable.el.gz.

Signature

(vtable-goto-table TABLE)

Documentation

Go to TABLE in the current buffer.

If TABLE is found, return the position of the start of the table. If it can't be found, return nil and don't move point.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/vtable.el.gz
(defun vtable-goto-table (table)
  "Go to TABLE in the current buffer.
If TABLE is found, return the position of the start of the table.
If it can't be found, return nil and don't move point."
  (let ((start (point)))
    (goto-char (point-min))
    (if-let ((match (text-property-search-forward 'vtable table t)))
        (goto-char (prop-match-beginning match))
      (goto-char start)
      nil)))