1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

lisp/startup.el: Fix bug#14639.

(command-line): Expand package name returned by `package--description-file'.
This commit is contained in:
Juanma Barranquero 2013-06-17 17:33:52 +02:00
parent 708e05f6d1
commit 551e07e5f5
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-06-17 Juanma Barranquero <lekktu@gmail.com>
* startup.el (command-line): Expand package name returned by
`package--description-file' (bug#14639).
2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
* emacs-lisp/package.el (package-load-descriptor): Do not call

View File

@ -1203,7 +1203,9 @@ the `--debug-init' option to view a complete error backtrace."
(when (let ((subdir (expand-file-name subdir dir)))
(and (file-directory-p subdir)
(file-exists-p
(package--description-file subdir))))
(expand-file-name
(package--description-file subdir)
subdir))))
(throw 'package-dir-found t)))))))
(package-initialize))