summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/senator.el
diff options
context:
space:
mode:
authorBastian Beischer <bastian.beischer@gmail.com>2019-06-25 15:12:04 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-25 15:12:04 +0200
commite195bbd95a35a5aeaf3689ff9e9293d350bb4056 (patch)
tree1b89d4a34df558aa58dd1b9dbb313a0e72569989 /lisp/cedet/semantic/senator.el
parent72963b4e82eef5767e3172f28bd9bd97f487c98a (diff)
downloademacs-e195bbd95a35a5aeaf3689ff9e9293d350bb4056.tar.gz
emacs-e195bbd95a35a5aeaf3689ff9e9293d350bb4056.tar.bz2
emacs-e195bbd95a35a5aeaf3689ff9e9293d350bb4056.zip
Use xref in cedet
* lisp/cedet/semantic/complete.el (semantic-complete-jump-local) * lisp/cedet/semantic/analyze/refs.el (semantic-analyze-proto-impl-toggle): Use xref to handle jumping (bug#23793). Copyright-paperwork-exempt: yes
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)