summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-09-23 20:06:33 -0700
committerGlenn Morris <rgm@gnu.org>2010-09-23 20:06:33 -0700
commit5e339ee2a32905ae87296dfb01ef957cfa04a747 (patch)
tree0f88b53b4b762526ce66d1b8a775ebf2bab52fc0 /lisp/progmodes
parent9a7cfdb82a73229b743e480d44e8f240139f6c6f (diff)
downloademacs-5e339ee2a32905ae87296dfb01ef957cfa04a747.tar.gz
Move some autoloaded auto-mode-alist entries to files.el.
* image-mode.el, progmodes/compile.el, progmodes/gud.el: * progmodes/mixal-mode.el, textmodes/bibtex-style.el: * textmodes/css-mode.el, textmodes/dns-mode.el: Move autoloaded auto-mode-alist entries to files.el. * files.el (auto-mode-alist): Move entries here.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el3
-rw-r--r--lisp/progmodes/gud.el7
-rw-r--r--lisp/progmodes/mixal-mode.el5
3 files changed, 1 insertions, 14 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 7f0732ecffc..a335f3dd427 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -2425,9 +2425,6 @@ The file-structure looks like this:
(or compilation-auto-jump-to-first-error
(eq compilation-scroll-output 'first-error))))
-;;;###autoload
-(add-to-list 'auto-mode-alist (cons (purecopy "\\.gcov\\'") 'compilation-mode))
-
(provide 'compile)
;; arch-tag: 12465727-7382-4f72-b234-79855a00dd8c
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 4c1471e39ec..8c35a13ac53 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -3218,13 +3218,6 @@ Treats actions as defuns."
(goto-char (point-max)))
t)
-;; Besides .gdbinit, gdb documents other names to be usable for init
-;; files, cross-debuggers can use something like
-;; .PROCESSORNAME-gdbinit so that the host and target gdbinit files
-;; don't interfere with each other.
-;;;###autoload
-(add-to-list 'auto-mode-alist (cons (purecopy "/\\.[a-z0-9-]*gdbinit") 'gdb-script-mode))
-
;;;###autoload
(define-derived-mode gdb-script-mode nil "GDB-Script"
"Major mode for editing GDB scripts."
diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el
index 94af563d88f..f2a7aa045e4 100644
--- a/lisp/progmodes/mixal-mode.el
+++ b/lisp/progmodes/mixal-mode.el
@@ -125,7 +125,7 @@ value.")
(defvar mixal-operation-codes-alist
;; FIXME: the codes FADD, FSUB, FMUL, FDIV, JRAD, and FCMP were in
;; mixal-operation-codes but not here. They should probably be added here.
- ;;
+ ;;
;; We used to define this with a backquote and subexps like ,(+ 8 3) for
;; better clarity, but the resulting code was too big and caused the
;; byte-compiler to eat up all the stack space. Even using
@@ -1123,9 +1123,6 @@ Assumes that file has been compiled with debugging support."
(set (make-local-variable 'require-final-newline)
mode-require-final-newline))
-;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.mixal\\'" . mixal-mode))
-
(provide 'mixal-mode)
;; arch-tag: be7c128a-bf61-4951-a90e-9398267ce3f3