From f209c999c0431d9c48c2efc089d4e5757df583c7 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Wed, 9 Jul 2003 20:28:23 +0000 Subject: [PATCH] (auto-mode-alist, interpreter-mode-alist): Added comments about where the CC Mode mode entries have gone. --- lisp/files.el | 8 ++++++++ 1 file changed, 8 insertions(+) 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))) -- 2.39.2