diff options
Diffstat (limited to 'lisp/cedet/semantic/db.el')
-rw-r--r-- | lisp/cedet/semantic/db.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el index 614ce706b0c..bb7836e5c98 100644 --- a/lisp/cedet/semantic/db.el +++ b/lisp/cedet/semantic/db.el @@ -560,8 +560,9 @@ This will call `semantic-fetch-tags' if that file is in memory." ;; ;; Already in a buffer, just do it. ((semanticdb-in-buffer-p obj) - (semanticdb-set-buffer obj) - (semantic-fetch-tags)) + (save-excursion + (semanticdb-set-buffer obj) + (semantic-fetch-tags))) ;; ;; Not in a buffer. Forcing a load. (force |