Anonymous avatar Anonymous committed da963e7

Make auto-mode and interpreter-mode-alist modifications autoload-only <1041811344.31380.82.camel@bobcat.ods.org>;.

Comments (0)

Files changed (17)

+2003-01-06  Ville Skyttä  <scop@xemacs.org>
+
+	* tcl.el: Make auto-mode and interpreter-mode-alist modifications
+	autoload-only.
+	* vrml-mode.el: Ditto.
+	* sql.el: Ditto.
+	* rpm-spec-mode.el: Ditto.
+	* rexx-mode.el: Ditto.
+	* prolog.el: Ditto.
+	* postscript.el: Ditto.
+	* pascal.el: Ditto.
+	* make-mode.el: Ditto.
+	* javascript-mode.el: Ditto.
+	* icon.el: Ditto.
+	* eiffel.el: Ditto.
+	* diff-mode.el: Ditto.
+	* awk-mode.el: Ditto.
+	* autoconf-mode.el: Ditto.
+	* asm-mode.el: Ditto.
+
 2003-01-03  Rendhalver [Peter Brown]  <rendhalver@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.69 released.
   (end-of-line))
 
 ;; XEmacs addition
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.[sS]\\'" . asm-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.[sS]\\'" . asm-mode))
 
 ;;; asm-mode.el ends here
   (set-syntax-table autoconf-mode-syntax-table)
   (run-hooks 'autoconf-mode-hook))
 
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.m4\\'" . autoconf-mode))
-;;;###autoload
-(add-to-list 'auto-mode-alist
-             '("configure\\.\\(in\\|ac\\)\\'" . autoconf-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.m4\\'" . autoconf-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("configure\\.\\(in\\|ac\\)\\'" . autoconf-mode))
 
 (provide 'autoconf-mode)
 
   (run-hooks 'awk-mode-hook))
 
 ;; XEmacs additions
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.awk\\'" . awk-mode))
-;;;###autoload
-(add-to-list 'interpreter-mode-alist '("awk\\b" . awk-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.awk\\'" . awk-mode))
+;;;###autoload(add-to-list 'interpreter-mode-alist '("awk\\b" . awk-mode))
 
 (provide 'awk-mode)
 
 	    (add-log-current-defun))))))
 
 ;; XEmacs change: added.
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode))
 
 ;; provide the package
 (provide 'diff-mode)
     (if (> eif-paren-depth 0) eif-ind-val -1)))
 
 ;; XEmacs addition
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.e\\'" . eiffel-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.e\\'" . eiffel-mode))
 
 (provide 'eiffel)
 ;;; eiffel.el ends here
     (forward-char -1)))
 
 ;; XEmacs addition
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.icn\\'" . icon-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.icn\\'" . icon-mode))
 
 (provide 'icon)
 

javascript-mode.el

 
 ;; ------------------------------------------------------------------------ ;;
 
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.js$" . javascript-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.js$" . javascript-mode))
 
 ;; Speedbar handling
 (if (fboundp 'speedbar-add-supported-extension)
       (if (stringp found) found))))
 
 ;; XEmacs additions
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.ma?ke?\\'" . makefile-mode))
-;;;###autoload
-(add-to-list 'auto-mode-alist
-             '("\\(GNU\\)?[Mm]akefile\\(\\.\\|\\'\\)" . makefile-mode))
-;;;###autoload
-(add-to-list 'interpreter-mode-alist '("make" . makefile-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.ma?ke?\\'" . makefile-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\(GNU\\)?[Mm]akefile\\(\\.\\|\\'\\)" . makefile-mode))
+;;;###autoload(add-to-list 'interpreter-mode-alist '("make" . makefile-mode))
 
 (provide 'makefile)
 ;;; make-mode.el ends here
   (pascal-hide-other-defuns))
 
 ;; XEmacs addition
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.p\\(?:as\\)?\\'" . pascal-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.p\\(?:as\\)?\\'" . pascal-mode))
 
 ;;; pascal.el ends here
   )
 
 ;; XEmacs addition
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.c?ps\\'" . postscript-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.c?ps\\'" . postscript-mode))
   (switch-to-buffer "*prolog*"))
 
 ;; XEmacs addition
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.prolog\\'" . prolog-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.prolog\\'" . prolog-mode))
 
 ;;; prolog.el ends here
   (newline-and-indent))
 
 ;; XEmacs addition
-;;;###autoload
-(add-to-list 'interpreter-mode-alist '("rexx" . rexx-mode))
+;;;###autoload(add-to-list 'interpreter-mode-alist '("rexx" . rexx-mode))
            rpm-spec-mode-version
            " by Stig Bjřrlykke, <stigb@tihlde.org>")))
 
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.spec$" . rpm-spec-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.spec$" . rpm-spec-mode))
 
 (provide 'rpm-spec-mode)
 
     (message "Login...done")
     (pop-to-buffer sql-buffer)))
 
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.sql$" . sql-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.sql$" . sql-mode))
 
 (provide 'sql)
 
 
 
 ;; XEmacs additions
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.\\(?:tcl\\|exp\\)\\'" . tcl-mode))
-;;;###autoload
-(add-to-list 'interpreter-mode-alist
-             '("^#!.*\\b\\(scope\\|wish\\|tcl\\|tclsh\\|expect\\)" . tcl-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.\\(?:tcl\\|exp\\)\\'" . tcl-mode))
+;;;###autoload(add-to-list 'interpreter-mode-alist '("^#!.*\\b\\(scope\\|wish\\|tcl\\|tclsh\\|expect\\)" . tcl-mode))
 
 (provide 'tcl)
 
     ))
 
 ;; XEmacs addition
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.wrl\\'" . vrml-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.wrl\\'" . vrml-mode))
 
 ;;; vrml-mode.el ends here
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.