Don't enable any local variables while building packages

See bbatsov/zenburn-emacs#107
This commit is contained in:
Steve Purcell 2013-05-13 15:46:54 +01:00
parent 003182ede2
commit 53c0639d2a

View file

@ -750,7 +750,7 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
(when (file-exists-p pkg-target)
(delete-file pkg-target t))
(copy-file pkg-source pkg-target)
(let ((enable-local-variables :safe)
(let ((enable-local-variables nil)
(make-backup-files nil))
(with-current-buffer (find-file pkg-target)
(pb/update-or-insert-version version)