From: Dmitry Gutov Date: Sat, 30 Sep 2017 14:17:02 +0000 (+0200) Subject: Fix semantic-ia-fast-jump X-Git-Tag: emacs-26.0.90~85 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8b2ab5014b2c1641bb62efa63b9ee54b4c056b5a;p=emacs.git Fix semantic-ia-fast-jump * lisp/cedet/semantic/ia.el (semantic-ia--fast-jump-helper): Use `pop-to-buffer-same-window' (bug#28645). --- diff --git a/lisp/cedet/semantic/ia.el b/lisp/cedet/semantic/ia.el index d4201fcf51f..625c3ae9757 100644 --- a/lisp/cedet/semantic/ia.el +++ b/lisp/cedet/semantic/ia.el @@ -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)) )