Add lexical-binding cookie to autoload files
* build-aux/update-subdirs: * lisp/emacs-lisp/autoload.el (autoload-rubric): Add lexical-binding cookie to generated files (bug#44854).
This commit is contained in:
parent
144b883eb0
commit
72b8430fea
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue