]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
authorArtur Malabarba <bruce.connor.am@gmail.com>
Tue, 7 Apr 2015 17:59:40 +0000 (18:59 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 8 Apr 2015 18:18:30 +0000 (19:18 +0100)
commit0465c9dd42a969aec375e6828ea70c3ad4c72c1c
tree5d51ac167d2bd14aba4947ab748873849e919974
parentbf87b4d5a83cff934b469a95c14d782f68ea963a
* lisp/emacs-lisp/package.el: More conservative `ensure-init-file'

(package--ensure-init-file): Check file contents before visiting.
(package-initialize): Call it.
(package-install-from-buffer, package-install): Don't call it.
lisp/emacs-lisp/package.el