Function: vtable-goto-object

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

Signature

(vtable-goto-object OBJECT)

Documentation

Go to OBJECT in the current table.

Return the position of the object if found, and nil if not.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/vtable.el.gz
(defun vtable-goto-object (object)
  "Go to OBJECT in the current table.
Return the position of the object if found, and nil if not."
  (let ((start (point)))
    (vtable-beginning-of-table)
    (save-restriction
      (narrow-to-region (point) (save-excursion (vtable-end-of-table)))
      (if (text-property-search-forward 'vtable-object object #'eq)
          (progn
            (forward-line -1)
            (point))
        (goto-char start)
        nil))))