summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/speedbar.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index 7a6e01f2859..a01b9ddb47e 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -1306,7 +1306,7 @@ in the selected file.
(if speedbar-track-mouse-flag
(set (make-local-variable 'track-mouse) t)) ;this could be messy.
(setq auto-show-mode nil)) ;no auto-show for Emacs
- (run-hooks 'speedbar-mode-hook))
+ (run-mode-hooks 'speedbar-mode-hook))
(speedbar-update-contents)
speedbar-buffer)