summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/decorate/include.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/semantic/decorate/include.el')
-rw-r--r--lisp/cedet/semantic/decorate/include.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/decorate/include.el b/lisp/cedet/semantic/decorate/include.el
index 6876e5f3a46..975ba343469 100644
--- a/lisp/cedet/semantic/decorate/include.el
+++ b/lisp/cedet/semantic/decorate/include.el
@@ -467,7 +467,7 @@ its contents.
(error "Could not location include %s"
(semantic-tag-name tag)))
((get-file-buffer file)
- (switch-to-buffer (get-file-buffer file)))
+ (pop-to-buffer-same-window (get-file-buffer file)))
((stringp file)
(find-file file))
))))