aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Stjernholm2003-07-05 20:02:18 +0000
committerMartin Stjernholm2003-07-05 20:02:18 +0000
commit3aae776cfef33437b3d42a317d3893059906d8ea (patch)
tree3d3254feb1288b1726e0d1ba38a8b289f0aef870
parenta2f3d16b3e1cdd20ca4538e01f6d2d1f44474dc0 (diff)
downloademacs-3aae776cfef33437b3d42a317d3893059906d8ea.tar.gz
emacs-3aae776cfef33437b3d42a317d3893059906d8ea.zip
(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.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/files.el23
2 files changed, 6 insertions, 23 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e52d564a1f3..e031e8372cb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,11 @@
12003-07-05 Martin Stjernholm <bug-cc-mode@gnu.org> 12003-07-05 Martin Stjernholm <bug-cc-mode@gnu.org>
2 2
3 * files.el (auto-mode-alist, interpreter-mode-alist): Removed
4 entries to CC Mode modes to avoid duplicates; they are now added
5 with autoload directives in cc-mode.el.
6
72003-07-05 Martin Stjernholm <bug-cc-mode@gnu.org>
8
3 * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist, 9 * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist,
4 c-lang-variable-inits, c-lang-variable-inits-tail): The values of 10 c-lang-variable-inits, c-lang-variable-inits-tail): The values of
5 these are changed, so declare them as variables and not constants. 11 these are changed, so declare them as variables and not constants.
diff --git a/lisp/files.el b/lisp/files.el
index bff3e1c65de..74e233783e2 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1592,8 +1592,6 @@ in that case, this function acts as if `enable-local-variables' were t."
1592 (lambda (elt) 1592 (lambda (elt)
1593 (cons (purecopy (car elt)) (cdr elt))) 1593 (cons (purecopy (car elt)) (cdr elt)))
1594 '(("\\.te?xt\\'" . text-mode) 1594 '(("\\.te?xt\\'" . text-mode)
1595 ("\\.c\\'" . c-mode)
1596 ("\\.h\\'" . c-mode)
1597 ("\\.tex\\'" . tex-mode) 1595 ("\\.tex\\'" . tex-mode)
1598 ("\\.ins\\'" . tex-mode) ;Installation files for TeX packages. 1596 ("\\.ins\\'" . tex-mode) ;Installation files for TeX packages.
1599 ("\\.ltx\\'" . latex-mode) 1597 ("\\.ltx\\'" . latex-mode)
@@ -1611,18 +1609,6 @@ in that case, this function acts as if `enable-local-variables' were t."
1611 ("\\.ad[bs].dg\\'" . ada-mode) 1609 ("\\.ad[bs].dg\\'" . ada-mode)
1612 ("\\.\\([pP]\\([Llm]\\|erl\\)\\|al\\)\\'" . perl-mode) 1610 ("\\.\\([pP]\\([Llm]\\|erl\\)\\|al\\)\\'" . perl-mode)
1613 ("\\.s?html?\\'" . html-mode) 1611 ("\\.s?html?\\'" . html-mode)
1614 ("\\.cc\\'" . c++-mode)
1615 ("\\.hh\\'" . c++-mode)
1616 ("\\.hpp\\'" . c++-mode)
1617 ("\\.C\\'" . c++-mode)
1618 ("\\.H\\'" . c++-mode)
1619 ("\\.cpp\\'" . c++-mode)
1620 ("\\.cxx\\'" . c++-mode)
1621 ("\\.hxx\\'" . c++-mode)
1622 ("\\.c\\+\\+\\'" . c++-mode)
1623 ("\\.h\\+\\+\\'" . c++-mode)
1624 ("\\.m\\'" . objc-mode)
1625 ("\\.java\\'" . java-mode)
1626 ("\\.mk\\'" . makefile-mode) 1612 ("\\.mk\\'" . makefile-mode)
1627 ("\\(M\\|m\\|GNUm\\)akefile\\'" . makefile-mode) 1613 ("\\(M\\|m\\|GNUm\\)akefile\\'" . makefile-mode)
1628 ("\\.am\\'" . makefile-mode) ;For Automake. 1614 ("\\.am\\'" . makefile-mode) ;For Automake.
@@ -1652,7 +1638,6 @@ in that case, this function acts as if `enable-local-variables' were t."
1652 ("\\.me\\'" . nroff-mode) 1638 ("\\.me\\'" . nroff-mode)
1653 ("\\.ms\\'" . nroff-mode) 1639 ("\\.ms\\'" . nroff-mode)
1654 ("\\.man\\'" . nroff-mode) 1640 ("\\.man\\'" . nroff-mode)
1655 ("\\.\\(u?lpc\\|pike\\|pmod\\)\\'" . pike-mode)
1656 ("\\.TeX\\'" . tex-mode) 1641 ("\\.TeX\\'" . tex-mode)
1657 ("\\.sty\\'" . latex-mode) 1642 ("\\.sty\\'" . latex-mode)
1658 ("\\.cls\\'" . latex-mode) ;LaTeX 2e class 1643 ("\\.cls\\'" . latex-mode) ;LaTeX 2e class
@@ -1679,7 +1664,6 @@ in that case, this function acts as if `enable-local-variables' were t."
1679 ("\\.indent\\.pro\\'" . fundamental-mode) ; to avoid idlwave-mode 1664 ("\\.indent\\.pro\\'" . fundamental-mode) ; to avoid idlwave-mode
1680 ("\\.pro\\'" . idlwave-mode) 1665 ("\\.pro\\'" . idlwave-mode)
1681 ("\\.lsp\\'" . lisp-mode) 1666 ("\\.lsp\\'" . lisp-mode)
1682 ("\\.awk\\'" . awk-mode)
1683 ("\\.prolog\\'" . prolog-mode) 1667 ("\\.prolog\\'" . prolog-mode)
1684 ("\\.tar\\'" . tar-mode) 1668 ("\\.tar\\'" . tar-mode)
1685 ("\\.\\(arc\\|zip\\|lzh\\|zoo\\|ear\\|jar\\|war\\)\\'" . archive-mode) 1669 ("\\.\\(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."
1693 ("\\.zone\\'" . zone-mode) 1677 ("\\.zone\\'" . zone-mode)
1694 ;; some news reader is reported to use this 1678 ;; some news reader is reported to use this
1695 ("\\`/tmp/fol/" . text-mode) 1679 ("\\`/tmp/fol/" . text-mode)
1696 ("\\.y\\'" . c-mode)
1697 ("\\.lex\\'" . c-mode)
1698 ("\\.oak\\'" . scheme-mode) 1680 ("\\.oak\\'" . scheme-mode)
1699 ("\\.sgml?\\'" . sgml-mode) 1681 ("\\.sgml?\\'" . sgml-mode)
1700 ("\\.xml\\'" . sgml-mode) 1682 ("\\.xml\\'" . sgml-mode)
1701 ("\\.xsl\\'" . sgml-mode) 1683 ("\\.xsl\\'" . sgml-mode)
1702 ("\\.dtd\\'" . sgml-mode) 1684 ("\\.dtd\\'" . sgml-mode)
1703 ("\\.ds\\(ss\\)?l\\'" . dsssl-mode) 1685 ("\\.ds\\(ss\\)?l\\'" . dsssl-mode)
1704 ("\\.idl\\'" . idl-mode)
1705 ;; .emacs or .gnus or .viper following a directory delimiter in 1686 ;; .emacs or .gnus or .viper following a directory delimiter in
1706 ;; Unix, MSDOG or VMS syntax. 1687 ;; Unix, MSDOG or VMS syntax.
1707 ("[]>:/\\]\\..*\\(emacs\\|gnus\\|viper\\)\\'" . emacs-lisp-mode) 1688 ("[]>:/\\]\\..*\\(emacs\\|gnus\\|viper\\)\\'" . emacs-lisp-mode)
@@ -1755,10 +1736,6 @@ REGEXP and search the list again for another match.")
1755 ("wishx" . tcl-mode) 1736 ("wishx" . tcl-mode)
1756 ("tcl" . tcl-mode) 1737 ("tcl" . tcl-mode)
1757 ("tclsh" . tcl-mode) 1738 ("tclsh" . tcl-mode)
1758 ("awk" . awk-mode)
1759 ("mawk" . awk-mode)
1760 ("nawk" . awk-mode)
1761 ("gawk" . awk-mode)
1762 ("scm" . scheme-mode) 1739 ("scm" . scheme-mode)
1763 ("ash" . sh-mode) 1740 ("ash" . sh-mode)
1764 ("bash" . sh-mode) 1741 ("bash" . sh-mode)