summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/sb.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/semantic/sb.el')
-rw-r--r--lisp/cedet/semantic/sb.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/cedet/semantic/sb.el b/lisp/cedet/semantic/sb.el
index e4471be9aba..6227ac618a9 100644
--- a/lisp/cedet/semantic/sb.el
+++ b/lisp/cedet/semantic/sb.el
@@ -298,11 +298,7 @@ TEXT TOKEN and INDENT are the details."
"Jump to the location specified in token.
TEXT TOKEN and INDENT are the details."
(let ((file
- (or
- (cond ((fboundp 'speedbar-line-path)
- (speedbar-line-directory indent))
- ((fboundp 'speedbar-line-directory)
- (speedbar-line-directory indent)))
+ (or (speedbar-line-directory indent)
;; If speedbar cannot figure this out, extract the filename from
;; the token. True for Analysis mode.
(semantic-tag-file-name token)))