Anonymous avatar Anonymous committed 7e1fa6b

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

Comments (0)

Files changed (7)

+2003-01-06  Ville Skyttä  <scop@xemacs.org>
+
+	* xrdb-mode.el: Make auto-mode-alist modifications autoload-only.
+	* xpm-mode.el: Ditto.
+	* scribe.el: Ditto.
+	* nroff-mode.el: Ditto.
+	* winmgr-mode.el: Ditto.
+	* css-mode.el: Ditto.
+
 2003-01-02  Michael Shields  <shields@msrl.com>
 
 	* flyspell.el (mail-mode-flyspell-verify):  More robust handling
         major-mode 'css-mode)
   (run-hooks 'css-mode-hook))
 
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.css$" . css-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.css$" . css-mode))
 
 (provide 'css-mode)
 
 (add-minor-mode 'nroff-electric-mode " Electric" nil nil 'electric-nroff-mode)
 
 ;; XEmacs additions
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.m\\(?:[mes]\\|an\\)\\'" . nroff-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.m\\(?:[mes]\\|an\\)\\'" . nroff-mode))
 ;; Need to append this so it won't screw eg. ChangeLog.1 and .scm.[0-9]...
-;;;###autoload
-(setq auto-mode-alist
-      (append auto-mode-alist '(("\\.[123456789]\\'" . nroff-mode))))
+;;;###autoload(setq auto-mode-alist (append auto-mode-alist '(("\\.[123456789]\\'" . nroff-mode))))
 
 ;;; nroff-mode.el ends here
 	    (insert (aref scribe-close-parentheses paren-char)))))))
 
 ;; XEmacs addition
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.mss\\'" . scribe-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.mss\\'" . scribe-mode))
 
 
 ;; XEmacs addition, Unix-specific
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.[^/]*wm2?\\(?:rc\\)?\\'" . winmgr-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.[^/]*wm2?\\(?:rc\\)?\\'" . winmgr-mode))
 
 (provide 'winmgr-mode)
 
 (defun xpm-mouse-up (event n)
   (xpm-show-image))
 
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.xpm$" . xpm-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.xpm$" . xpm-mode))
 
 ;;;###autoload
 (defun xpm-mode (&optional arg)
 
 
 ;; XEmacs additions
-;;;###autoload
-(add-to-list
- 'auto-mode-alist
- '("[./\\]X\\(defaults\\|environment\\|resources\\|modmap\\)\\'" . xrdb-mode))
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.ad\\'" . xrdb-mode))
-;;;###autoload
-(add-to-list 'auto-mode-alist '("/app-defaults/" . xrdb-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("[./\\]X\\(defaults\\|environment\\|resources\\|modmap\\)\\'" . xrdb-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.ad\\'" . xrdb-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("/app-defaults/" . xrdb-mode))
 
 (provide 'xrdb-mode)
 ;;; xrdb-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.