diff options
| author | Przemysław Kryger | 2025-12-09 11:15:36 +0100 |
|---|---|---|
| committer | Michael Albinus | 2025-12-09 11:15:36 +0100 |
| commit | 57ab746257de21f91c55c873de04aa8b368fcfe1 (patch) | |
| tree | e28aa13979add953fd268333fe73d16735345dfa | |
| parent | 06e9943412fccda47c3ce18344e8b0f4eb42f8fe (diff) | |
| download | emacs-57ab746257de21f91c55c873de04aa8b368fcfe1.tar.gz emacs-57ab746257de21f91c55c873de04aa8b368fcfe1.zip | |
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.
| -rw-r--r-- | lisp/emacs-lisp/package-vc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index c536bdd642b..8338e98d9f0 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el | |||
| @@ -329,7 +329,7 @@ asynchronously." | |||
| 329 | (replace-regexp-in-string | 329 | (replace-regexp-in-string |
| 330 | "-pkg\\.el\\'" ".el" | 330 | "-pkg\\.el\\'" ".el" |
| 331 | (file-name-nondirectory pkg-file)) | 331 | (file-name-nondirectory pkg-file)) |
| 332 | " -*- no-byte-compile: t -*-\n" | 332 | " -*- no-byte-compile: t; lexical-binding: t -*-\n" |
| 333 | (prin1-to-string | 333 | (prin1-to-string |
| 334 | (nconc | 334 | (nconc |
| 335 | (list 'define-package | 335 | (list 'define-package |
| @@ -585,7 +585,7 @@ building documentation and marking the package as installed." | |||
| 585 | (unless (file-equal-p lisp-dir pkg-dir) | 585 | (unless (file-equal-p lisp-dir pkg-dir) |
| 586 | (write-region | 586 | (write-region |
| 587 | (concat | 587 | (concat |
| 588 | ";; Autoload indirection for package-vc\n\n" | 588 | ";; Autoload indirection for package-vc -*- lexical-binding: t -*-\n\n" |
| 589 | (prin1-to-string | 589 | (prin1-to-string |
| 590 | ;; The indirection is just a single load statement to the | 590 | ;; The indirection is just a single load statement to the |
| 591 | ;; actual file (we don't want to use symbolic links due to | 591 | ;; actual file (we don't want to use symbolic links due to |