   (run-mode-hooks 'espresso-mode-hook))
 
 
-(eval-after-load "hideshow"
+(eval-after-load 'hideshow
   '(add-to-list 'hs-special-modes-alist
                 '(espresso-mode "{" "}" "/[*/]"
                                 nil hs-c-like-adjust-block-beginning)))
 
-(eval-after-load "folding"
-  (when (fboundp 'folding-add-to-marks-list)
-    (folding-add-to-marks-list 'espresso-mode "// {{{" "// }}}" )))
+(eval-after-load 'folding
+  '(when (fboundp 'folding-add-to-marks-list)
+     (folding-add-to-marks-list 'espresso-mode "// {{{" "// }}}" )))
+
+(eval-after-load 'speedbar
+  '(speedbar-add-supported-extension ".js"))
 
 
 ;;; Emacs
-(provide 'espresso-mode)
+(provide 'espresso)
 ;; Local Variables:
 ;; outline-regexp: ";;; "
 ;; End:

         if (and (eq 'function (espresso--pitem-type pitem))
                 (espresso--inside-pitem-p pitem))
         do (goto-char (espresso--pitem-h-begin pitem))
         and return t)

   ;; ...and if that isn't found, look for the previous top-level
   ;; defun


(defconst espresso--constant-re
  (espresso--regexp-opt-symbol '("false" "null" "undefined"
                                 "Infinity" "NaN"
                                 "true" "arguments" "this"))
  "Regular expression matching any future reserved words in JavaScript.")

