Function: semantic-mrub-visit
semantic-mrub-visit is a byte-compiled function defined in
mru-bookmark.el.gz.
Signature
(semantic-mrub-visit ARG &rest ARGS)
Implementations
((sbm semantic-bookmark)) in `semantic/mru-bookmark.el'.
Visit the semantic tag bookmark SBM. Uses `semantic-go-to-tag' and highlighting.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/mru-bookmark.el.gz
(cl-defmethod semantic-mrub-visit ((sbm semantic-bookmark))
"Visit the semantic tag bookmark SBM.
Uses `semantic-go-to-tag' and highlighting."
(require 'semantic/decorate)
(with-slots (tag filename) sbm
;; Go to the tag
(when (not (semantic-tag-in-buffer-p tag))
(let ((fn (or (semantic-tag-file-name tag)
filename)))
(set-buffer (find-file-noselect fn))))
(semantic-go-to-tag (oref sbm tag) (oref sbm parent))
;; Go back to the offset.
(condition-case nil
(let ((o (oref sbm offset)))
(forward-char o))
(error nil))
;; make it visible
(pop-to-buffer-same-window (current-buffer))
(semantic-momentary-highlight-tag tag)
))