Function: semantic--tag-unlink-from-buffer
semantic--tag-unlink-from-buffer is a byte-compiled function defined
in tag.el.gz.
Signature
(semantic--tag-unlink-from-buffer TAG)
Documentation
Convert TAG from using an overlay to using an overlay proxy.
This function is for internal use only.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/tag.el.gz
(defun semantic--tag-unlink-from-buffer (tag)
"Convert TAG from using an overlay to using an overlay proxy.
This function is for internal use only."
(when (semantic-tag-p tag)
(let ((o (semantic-tag-overlay tag)))
(when (overlayp o)
(semantic--tag-set-overlay
tag (vector (overlay-start o)
(overlay-end o)))
(delete-overlay o))
;; Look for a link hook on TAG.
(semantic--tag-run-hooks tag 'unlink-hook)
;; Fix the sub-tags which contain overlays.
(semantic--tag-unlink-list-from-buffer
(semantic-tag-components-with-overlays tag)))))