From: Martin Stjernholm Date: Wed, 9 Jul 2003 20:28:23 +0000 (+0000) Subject: (auto-mode-alist, interpreter-mode-alist): Added comments about where X-Git-Tag: ttn-vms-21-2-B4~9394 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f209c999c0431d9c48c2efc089d4e5757df583c7;p=emacs.git (auto-mode-alist, interpreter-mode-alist): Added comments about where the CC Mode mode entries have gone. --- 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." (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 @@ REGEXP and search the list again for another match.") (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)))