changeset 51857:38b96f89712a

(auto-mode-alist, interpreter-mode-alist): Added comments about where the CC Mode mode entries have gone.
author Martin Stjernholm <mast@lysator.liu.se>
date Wed, 09 Jul 2003 20:28:23 +0000
parents f1a175ae8909
children bf6232373c39
files lisp/files.el
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Wed Jul 09 20:25:59 2003 +0000
+++ b/lisp/files.el	Wed Jul 09 20:28:23 2003 +0000
@@ -1588,6 +1588,10 @@
       (ucs-set-table-for-input)))
 
 (defvar auto-mode-alist
+  ;; Note: The entries for the modes defined in cc-mode.el (c-mode,
+  ;; c++-mode, java-mode and more) are added through autoload
+  ;; directives in that file.  That way is discouraged since it
+  ;; spreads out the definition of the initial value.
   (mapc
    (lambda (elt)
      (cons (purecopy (car elt)) (cdr elt)))
@@ -1726,6 +1730,10 @@
 
 
 (defvar interpreter-mode-alist
+  ;; Note: The entries for the modes defined in cc-mode.el (awk-mode
+  ;; and pike-mode) are added through autoload directives in that
+  ;; file.  That way is discouraged since it spreads out the
+  ;; definition of the initial value.
   (mapc
    (lambda (l)
      (cons (purecopy (car l)) (cdr l)))