Source

prog-modes / javascript-mode.el

Diff from to

javascript-mode.el

 ;; ------------------------------------------------------------------------ ;;
 
 ;;;###autoload(add-to-list 'auto-mode-alist '("\\.js$" . javascript-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.pac$" . javascript-mode))
 
 ;; Speedbar handling
 (if (fboundp 'speedbar-add-supported-extension)
-    (speedbar-add-supported-extension ".js"))
+    (speedbar-add-supported-extension '(".js" ".pac")))
 
 ;; ------------------------------------------------------------------------ ;;