diff options
author | Bastian Beischer <bastian.beischer@gmail.com> | 2019-06-25 15:12:04 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-25 15:12:04 +0200 |
commit | e195bbd95a35a5aeaf3689ff9e9293d350bb4056 (patch) | |
tree | 1b89d4a34df558aa58dd1b9dbb313a0e72569989 /lisp/cedet/semantic/ia.el | |
parent | 72963b4e82eef5767e3172f28bd9bd97f487c98a (diff) | |
download | emacs-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/ia.el')
-rw-r--r-- | lisp/cedet/semantic/ia.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/cedet/semantic/ia.el b/lisp/cedet/semantic/ia.el index 1549f52925f..68c6e4279cf 100644 --- a/lisp/cedet/semantic/ia.el +++ b/lisp/cedet/semantic/ia.el @@ -316,8 +316,8 @@ This helper manages the mark, buffer switching, and pulsing." ;; 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, @@ -385,8 +385,8 @@ origin of the code at point." ;; 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) ) |