Commit f209c999 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

(auto-mode-alist, interpreter-mode-alist): Added comments about where

the CC Mode mode entries have gone.
parent 4a6a76d9
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment