Commits

Anonymous committed 7e1fa6b

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

  • Participants
  • Parent commits 9af60ab

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)
 

File nroff-mode.el

 (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))

File winmgr-mode.el

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

File xrdb-mode.el

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