Commits

Anonymous committed 73a78dc

2003-06-10 Vasily Korytov <deskpot@myrealbox.com>

* javascript-mode.el: Add an auto-mode-alist entry and a
(speedbar-add-supported-extension) call for the *.pac files.

Comments (0)

Files changed (2)

+2003-06-10  Vasily Korytov  <deskpot@myrealbox.com>
+
+	* javascript-mode.el: Add an auto-mode-alist entry and a
+	(speedbar-add-supported-extension) call for the *.pac files.
+	
 2003-06-08  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.77 released.

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")))
 
 ;; ------------------------------------------------------------------------ ;;