(if (semantic-tag-prototype-p tag) "implementation" "prototype")))
(push-mark)
+ (when (fboundp 'xref-push-marker-stack)
+ (xref-push-marker-stack))
(semantic-go-to-tag target)
(pop-to-buffer-same-window (current-buffer))
(semantic-momentary-highlight-tag target))
(let ((tag (semantic-complete-read-tag-buffer-deep "Jump to symbol: ")))
(when (semantic-tag-p tag)
(push-mark)
+ (when (fboundp 'xref-push-marker-stack)
+ (xref-push-marker-stack))
(goto-char (semantic-tag-start tag))
(semantic-momentary-highlight-tag tag)
(message "%S: %s "
(let* ((tag (semantic-complete-read-tag-project "Jump to symbol: ")))
(when (semantic-tag-p tag)
(push-mark)
+ (when (fboundp 'xref-push-marker-stack)
+ (xref-push-marker-stack))
(semantic-go-to-tag tag)
(pop-to-buffer-same-window (current-buffer))
(semantic-momentary-highlight-tag tag)
(unless start
(error "Tag %s has no location" (semantic-format-tag-prototype tag)))
(push-mark)
+ (when (fboundp 'xref-push-marker-stack)
+ (xref-push-marker-stack))
(goto-char start)
(semantic-momentary-highlight-tag tag)
(message "%S: %s "
;; 1) Push the mark, so you can pop global mark back, or
;; use semantic-mru-bookmark mode to do so.
(push-mark)
- (when (fboundp 'push-tag-mark)
- (push-tag-mark))
+ (when (fboundp 'xref-push-marker-stack)
+ (xref-push-marker-stack))
;; 2) Visits the tag.
(semantic-go-to-tag dest)
;; 3) go-to-tag doesn't switch the buffer in the current window,
;; Push the mark, so you can pop global mark back, or
;; use semantic-mru-bookmark mode to do so.
(push-mark)
- (when (fboundp 'push-tag-mark)
- (push-tag-mark))
+ (when (fboundp 'xref-push-marker-stack)
+ (xref-push-marker-stack))
(semantic-decoration-include-visit)
)
(if (not result)
(error "No up reference found")
(push-mark)
+ (when (fboundp 'xref-push-marker-stack)
+ (xref-push-marker-stack))
(cond
;; A tag
((semantic-tag-p result)