emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 8f9f1701f6: Don't discourage auto-mode-alist entries in autoloads


From: Stefan Kangas
Subject: master 8f9f1701f6: Don't discourage auto-mode-alist entries in autoloads
Date: Wed, 26 Jan 2022 21:59:04 -0500 (EST)

branch: master
commit 8f9f1701f632ed72f511fb66bf14417b63524e9a
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Don't discourage auto-mode-alist entries in autoloads
    
    * lisp/files.el (auto-mode-alist, interpreter-mode-alist): Delete
    comment discouraging entries in autoload directives.  (Bug#8158)
---
 lisp/files.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lisp/files.el b/lisp/files.el
index aabe8f445e..4ba71e6144 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2757,8 +2757,7 @@ since only a single case-insensitive search through the 
alist is made."
 (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.
+  ;; directives in that file.
   (mapcar
    (lambda (elt)
      (cons (purecopy (car elt)) (cdr elt)))
@@ -3056,8 +3055,7 @@ and `magic-mode-alist', which determines modes based on 
file contents.")
 (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.
+  ;; file.
   (mapcar
    (lambda (l)
      (cons (purecopy (car l)) (cdr l)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]