summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnu.org>2014-05-25 18:53:28 +0200
committerThien-Thi Nguyen <ttn@gnu.org>2014-05-25 18:53:28 +0200
commit770a6a917f9ef4a30cc6aceedc746869416813b3 (patch)
tree85e1e0ecedc20ccf9d70e1276aed007634ca2f09 /lisp/emacs-lisp
parente50a0b6e9df98aa4bfd904b82edd8c0d7b3a2da4 (diff)
downloademacs-770a6a917f9ef4a30cc6aceedc746869416813b3.tar.gz
Arrange to never byte-compile the generated -pkg.el file.
* 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>.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index c23be253b37..5843724a596 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -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