diff options
| author | Martin Stjernholm | 2003-07-09 20:28:23 +0000 |
|---|---|---|
| committer | Martin Stjernholm | 2003-07-09 20:28:23 +0000 |
| commit | f209c999c0431d9c48c2efc089d4e5757df583c7 (patch) | |
| tree | 1f6346dbb80182f30dedd7b6527024954b8472a4 | |
| parent | 4a6a76d9e8f5eee86e76ffaaa51b69bda54717b9 (diff) | |
| download | emacs-f209c999c0431d9c48c2efc089d4e5757df583c7.tar.gz emacs-f209c999c0431d9c48c2efc089d4e5757df583c7.zip | |
(auto-mode-alist, interpreter-mode-alist): Added comments about where
the CC Mode mode entries have gone.
| -rw-r--r-- | lisp/files.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el index 74e233783e2..c62ef5555d3 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1588,6 +1588,10 @@ in that case, this function acts as if `enable-local-variables' were t." | |||
| 1588 | (ucs-set-table-for-input))) | 1588 | (ucs-set-table-for-input))) |
| 1589 | 1589 | ||
| 1590 | (defvar auto-mode-alist | 1590 | (defvar auto-mode-alist |
| 1591 | ;; Note: The entries for the modes defined in cc-mode.el (c-mode, | ||
| 1592 | ;; c++-mode, java-mode and more) are added through autoload | ||
| 1593 | ;; directives in that file. That way is discouraged since it | ||
| 1594 | ;; spreads out the definition of the initial value. | ||
| 1591 | (mapc | 1595 | (mapc |
| 1592 | (lambda (elt) | 1596 | (lambda (elt) |
| 1593 | (cons (purecopy (car elt)) (cdr elt))) | 1597 | (cons (purecopy (car elt)) (cdr elt))) |
| @@ -1726,6 +1730,10 @@ REGEXP and search the list again for another match.") | |||
| 1726 | 1730 | ||
| 1727 | 1731 | ||
| 1728 | (defvar interpreter-mode-alist | 1732 | (defvar interpreter-mode-alist |
| 1733 | ;; Note: The entries for the modes defined in cc-mode.el (awk-mode | ||
| 1734 | ;; and pike-mode) are added through autoload directives in that | ||
| 1735 | ;; file. That way is discouraged since it spreads out the | ||
| 1736 | ;; definition of the initial value. | ||
| 1729 | (mapc | 1737 | (mapc |
| 1730 | (lambda (l) | 1738 | (lambda (l) |
| 1731 | (cons (purecopy (car l)) (cdr l))) | 1739 | (cons (purecopy (car l)) (cdr l))) |