]> git.eshelyaron.com Git - emacs.git/commitdiff
Arrange to never byte-compile the generated -pkg.el file.
authorThien-Thi Nguyen <ttn@gnu.org>
Sun, 25 May 2014 16:53:28 +0000 (18:53 +0200)
committerThien-Thi Nguyen <ttn@gnu.org>
Sun, 25 May 2014 16:53:28 +0000 (18:53 +0200)
* lisp/emacs-lisp/package.el (package-generate-description-file):
Output first-line comment to set buffer-local var `no-byte-compile'.
Suggested by Dmitry Gutov:
<http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.

lisp/ChangeLog
lisp/emacs-lisp/package.el

index 2eeb15e42ad74a4444e6fc4bb7cd30dc76ec5dba..43ff5e8547494c9e989a205ad64db4b1413a5636 100644 (file)
@@ -1,3 +1,12 @@
+2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       Arrange to never byte-compile the generated -pkg.el file.
+
+       * emacs-lisp/package.el (package-generate-description-file):
+       Output first-line comment to set buffer-local var `no-byte-compile'.
+       Suggested by Dmitry Gutov:
+       <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
+
 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
 
        Fix bug: Properly quote args to generated -pkg.el `define-package'.
index c23be253b37bec3ba05479b8ab5e9946037ea171..5843724a59624876056ba79e053b142169fff441 100644 (file)
@@ -688,6 +688,7 @@ untar into a directory named DIR; otherwise, signal an error."
           (print-length nil))
       (write-region
        (concat
+        ";;; -*- no-byte-compile: t -*-\n"
         (prin1-to-string
          (nconc
           (list 'define-package