diff options
| author | Dmitry Gutov | 2017-09-30 16:17:02 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2017-09-30 16:17:02 +0200 |
| commit | 8b2ab5014b2c1641bb62efa63b9ee54b4c056b5a (patch) | |
| tree | 92aedd821b87e1879090d5b760b2ffc0471a72ce | |
| parent | 5b45e7e1c337ddcc357b91755500d3771459be94 (diff) | |
| download | emacs-8b2ab5014b2c1641bb62efa63b9ee54b4c056b5a.tar.gz emacs-8b2ab5014b2c1641bb62efa63b9ee54b4c056b5a.zip | |
Fix semantic-ia-fast-jump
* lisp/cedet/semantic/ia.el (semantic-ia--fast-jump-helper):
Use `pop-to-buffer-same-window' (bug#28645).
| -rw-r--r-- | lisp/cedet/semantic/ia.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 322 | (semantic-go-to-tag dest) | 322 | (semantic-go-to-tag dest) |
| 323 | ;; 3) go-to-tag doesn't switch the buffer in the current window, | 323 | ;; 3) go-to-tag doesn't switch the buffer in the current window, |
| 324 | ;; so it is like find-file-noselect. Bring it forward. | 324 | ;; so it is like find-file-noselect. Bring it forward. |
| 325 | (switch-to-buffer (current-buffer)) | 325 | (pop-to-buffer-same-window (current-buffer)) |
| 326 | ;; 4) Fancy pulsing. | 326 | ;; 4) Fancy pulsing. |
| 327 | (pulse-momentary-highlight-one-line (point)) | 327 | (pulse-momentary-highlight-one-line (point)) |
| 328 | ) | 328 | ) |