]> git.eshelyaron.com Git - emacs.git/commitdiff
(auto-mode-alist, interpreter-mode-alist): Removed entries to CC Mode
authorMartin Stjernholm <mast@lysator.liu.se>
Sat, 5 Jul 2003 20:02:18 +0000 (20:02 +0000)
committerMartin Stjernholm <mast@lysator.liu.se>
Sat, 5 Jul 2003 20:02:18 +0000 (20:02 +0000)
modes to avoid duplicates; they are now added with autoload directives
in cc-mode.el.

lisp/ChangeLog
lisp/files.el

index e52d564a1f3329751b1b142ba59eb04960c0da7c..e031e8372cb242e6fb2e44f01ce52d5f6cb0d1a7 100644 (file)
@@ -1,3 +1,9 @@
+2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * files.el (auto-mode-alist, interpreter-mode-alist): Removed
+       entries to CC Mode modes to avoid duplicates; they are now added
+       with autoload directives in cc-mode.el.
+
 2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>
 
        * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist,
index bff3e1c65deca344137fd84bd3bf45742d7bc836..74e233783e25b01844f57aa4e4c63e7db09aa221 100644 (file)
@@ -1592,8 +1592,6 @@ in that case, this function acts as if `enable-local-variables' were t."
    (lambda (elt)
      (cons (purecopy (car elt)) (cdr elt)))
    '(("\\.te?xt\\'" . text-mode)
-     ("\\.c\\'" . c-mode)
-     ("\\.h\\'" . c-mode)
      ("\\.tex\\'" . tex-mode)
      ("\\.ins\\'" . tex-mode)          ;Installation files for TeX packages.
      ("\\.ltx\\'" . latex-mode)
@@ -1611,18 +1609,6 @@ in that case, this function acts as if `enable-local-variables' were t."
      ("\\.ad[bs].dg\\'" . ada-mode)
      ("\\.\\([pP]\\([Llm]\\|erl\\)\\|al\\)\\'" . perl-mode)
      ("\\.s?html?\\'" . html-mode)
-     ("\\.cc\\'" . c++-mode)
-     ("\\.hh\\'" . c++-mode)
-     ("\\.hpp\\'" . c++-mode)
-     ("\\.C\\'" . c++-mode)
-     ("\\.H\\'" . c++-mode)
-     ("\\.cpp\\'" . c++-mode)
-     ("\\.cxx\\'" . c++-mode)
-     ("\\.hxx\\'" . c++-mode)
-     ("\\.c\\+\\+\\'" . c++-mode)
-     ("\\.h\\+\\+\\'" . c++-mode)
-     ("\\.m\\'" . objc-mode)
-     ("\\.java\\'" . java-mode)
      ("\\.mk\\'" . makefile-mode)
      ("\\(M\\|m\\|GNUm\\)akefile\\'" . makefile-mode)
      ("\\.am\\'" . makefile-mode)      ;For Automake.
@@ -1652,7 +1638,6 @@ in that case, this function acts as if `enable-local-variables' were t."
      ("\\.me\\'" . nroff-mode)
      ("\\.ms\\'" . nroff-mode)
      ("\\.man\\'" . nroff-mode)
-     ("\\.\\(u?lpc\\|pike\\|pmod\\)\\'" . pike-mode)
      ("\\.TeX\\'" . tex-mode)
      ("\\.sty\\'" . latex-mode)
      ("\\.cls\\'" . latex-mode)                ;LaTeX 2e class
@@ -1679,7 +1664,6 @@ in that case, this function acts as if `enable-local-variables' were t."
      ("\\.indent\\.pro\\'" . fundamental-mode) ; to avoid idlwave-mode
      ("\\.pro\\'" . idlwave-mode)
      ("\\.lsp\\'" . lisp-mode)
-     ("\\.awk\\'" . awk-mode)
      ("\\.prolog\\'" . prolog-mode)
      ("\\.tar\\'" . tar-mode)
      ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|ear\\|jar\\|war\\)\\'" . archive-mode)
@@ -1693,15 +1677,12 @@ in that case, this function acts as if `enable-local-variables' were t."
      ("\\.zone\\'" . zone-mode)
      ;; some news reader is reported to use this
      ("\\`/tmp/fol/" . text-mode)
-     ("\\.y\\'" . c-mode)
-     ("\\.lex\\'" . c-mode)
      ("\\.oak\\'" . scheme-mode)
      ("\\.sgml?\\'" . sgml-mode)
      ("\\.xml\\'" . sgml-mode)
      ("\\.xsl\\'" . sgml-mode)
      ("\\.dtd\\'" . sgml-mode)
      ("\\.ds\\(ss\\)?l\\'" . dsssl-mode)
-     ("\\.idl\\'" . idl-mode)
      ;; .emacs or .gnus or .viper following a directory delimiter in
      ;; Unix, MSDOG or VMS syntax.
      ("[]>:/\\]\\..*\\(emacs\\|gnus\\|viper\\)\\'" . emacs-lisp-mode)
@@ -1755,10 +1736,6 @@ REGEXP and search the list again for another match.")
      ("wishx" . tcl-mode)
      ("tcl" . tcl-mode)
      ("tclsh" . tcl-mode)
-     ("awk" . awk-mode)
-     ("mawk" . awk-mode)
-     ("nawk" . awk-mode)
-     ("gawk" . awk-mode)
      ("scm" . scheme-mode)
      ("ash" . sh-mode)
      ("bash" . sh-mode)