projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
144b883
)
Add lexical-binding cookie to autoload files
author
Stefan Kangas
<stefan@marxist.se>
Thu, 31 Dec 2020 05:35:49 +0000
(06:35 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 31 Dec 2020 05:35:49 +0000
(06:35 +0100)
* build-aux/update-subdirs:
* lisp/emacs-lisp/autoload.el (autoload-rubric): Add lexical-binding
cookie to generated files (bug#44854).
lisp/emacs-lisp/autoload.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/autoload.el
b/lisp/emacs-lisp/autoload.el
index 07bda537b39bd7f99b471d22fa10a90375afa8dd..4d0c6c2f6824d1ac61bac00ddac744f7f7f24c85 100644
(file)
--- a/
lisp/emacs-lisp/autoload.el
+++ b/
lisp/emacs-lisp/autoload.el
@@
-368,7
+368,8
@@
FILE's name."
(let ((basename (file-name-nondirectory file))
(lp (if (equal type "package") (setq type "autoloads"))))
(concat ";;; " basename
- " --- automatically extracted " (or type "autoloads") "\n"
+ " --- automatically extracted " (or type "autoloads")
+ " -*- lexical-binding: t -*-\n"
";;\n"
";;; Code:\n\n"
(if lp