]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix semantic-ia-fast-jump
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 30 Sep 2017 14:17:02 +0000 (16:17 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 30 Sep 2017 14:17:02 +0000 (16:17 +0200)
* lisp/cedet/semantic/ia.el (semantic-ia--fast-jump-helper):
Use `pop-to-buffer-same-window' (bug#28645).

lisp/cedet/semantic/ia.el

index d4201fcf51f5a86fbc7df477d4cbbb19ba0a4228..625c3ae97576aa27c1ad83d3b96b95594e4c2384 100644 (file)
@@ -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))
   )