[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 8b2ab50: Fix semantic-ia-fast-jump
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] emacs-26 8b2ab50: Fix semantic-ia-fast-jump |
Date: |
Sat, 30 Sep 2017 10:19:28 -0400 (EDT) |
branch: emacs-26
commit 8b2ab5014b2c1641bb62efa63b9ee54b4c056b5a
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Fix semantic-ia-fast-jump
* lisp/cedet/semantic/ia.el (semantic-ia--fast-jump-helper):
Use `pop-to-buffer-same-window' (bug#28645).
---
lisp/cedet/semantic/ia.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/cedet/semantic/ia.el b/lisp/cedet/semantic/ia.el
index d4201fc..625c3ae 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))
)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 8b2ab50: Fix semantic-ia-fast-jump,
Dmitry Gutov <=