Function: semantic-imenu-tag-overlay

semantic-imenu-tag-overlay is a byte-compiled function defined in imenu.el.gz.

Signature

(semantic-imenu-tag-overlay TAG)

Documentation

Return the overlay belonging to tag.

If TAG doesn't have an overlay, and instead as a vector of positions, concoct a combination of file name, and position.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/imenu.el.gz
(defun semantic-imenu-tag-overlay (tag)
  "Return the overlay belonging to tag.
If TAG doesn't have an overlay, and instead as a vector of positions,
concoct a combination of file name, and position."
  (let ((o (semantic-tag-overlay tag)))
    (if (not (overlayp o))
	(let ((v (make-vector 3 nil)))
	  (aset v 0 semantic-imenu-directory-current-file)
	  (aset v 1 (aref o 0))
	  (aset v 2 (aref o 1))
	  v)
      o)))