Commit 8b2ab501 authored by Dmitry Gutov's avatar Dmitry Gutov

Fix semantic-ia-fast-jump

* lisp/cedet/semantic/ia.el (semantic-ia--fast-jump-helper):
Use `pop-to-buffer-same-window' (bug#28645).
parent 5b45e7e1
......@@ -322,7 +322,7 @@ This helper manages the mark, buffer switching, and pulsing."
(semantic-go-to-tag dest)
;; 3) go-to-tag doesn't switch the buffer in the current window,
;; so it is like find-file-noselect. Bring it forward.
(switch-to-buffer (current-buffer))
(pop-to-buffer-same-window (current-buffer))
;; 4) Fancy pulsing.
(pulse-momentary-highlight-one-line (point))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment