summaryrefslogtreecommitdiff
path: root/lisp/speedbar.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/speedbar.el')
-rw-r--r--lisp/speedbar.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index b2e7be1505c..5fe7e7ea349 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -2276,9 +2276,7 @@ the list."
(with-current-buffer (get-file-buffer f)
speedbar-tag-hierarchy-method)
speedbar-tag-hierarchy-method))
- (lst (if (fboundp 'copy-tree)
- (copy-tree lst)
- lst)))
+ (lst (copy-tree lst)))
(while methods
(setq lst (funcall (car methods) lst)
methods (cdr methods)))