• Noam Postavsky's avatar
    Don't call package--ensure-init-file if initialized during startup · 6b6cc56e
    Noam Postavsky authored
    * lisp/emacs-lisp/package.el (package-initialize): Check
    `after-init-time' rather than `load-file-name' to decide if
    `package--ensure-init-file' should be called.  Depending on
    `load-file-name' will fail if the user calls `pacakge-initialize' in
    file which is loaded from the init file (Bug#24643, Bug#25819).
    6b6cc56e
package.el 145 KB