summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/senator.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/semantic/senator.el')
-rw-r--r--lisp/cedet/semantic/senator.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/cedet/semantic/senator.el b/lisp/cedet/semantic/senator.el
index b36f801988b..f76d3328888 100644
--- a/lisp/cedet/semantic/senator.el
+++ b/lisp/cedet/semantic/senator.el
@@ -526,6 +526,8 @@ Some tags such as includes have other reference features."
(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)