mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Add `lexical-binding' cookie to generated files by package-vc
* lisp/emacs-lisp/package-vc.el (package-vc--generate-description-file, package-vc--unpack-1): Add `lexical-binding:t' cookie.
This commit is contained in:
parent
06e9943412
commit
57ab746257
1 changed files with 2 additions and 2 deletions
|
|
@ -329,7 +329,7 @@ asynchronously."
|
|||
(replace-regexp-in-string
|
||||
"-pkg\\.el\\'" ".el"
|
||||
(file-name-nondirectory pkg-file))
|
||||
" -*- no-byte-compile: t -*-\n"
|
||||
" -*- no-byte-compile: t; lexical-binding: t -*-\n"
|
||||
(prin1-to-string
|
||||
(nconc
|
||||
(list 'define-package
|
||||
|
|
@ -585,7 +585,7 @@ building documentation and marking the package as installed."
|
|||
(unless (file-equal-p lisp-dir pkg-dir)
|
||||
(write-region
|
||||
(concat
|
||||
";; Autoload indirection for package-vc\n\n"
|
||||
";; Autoload indirection for package-vc -*- lexical-binding: t -*-\n\n"
|
||||
(prin1-to-string
|
||||
;; The indirection is just a single load statement to the
|
||||
;; actual file (we don't want to use symbolic links due to
|
||||
|
|
|
|||
Loading…
Reference in a new issue