diff options
author | Noam Postavsky <npostavs@gmail.com> | 2018-06-16 18:59:43 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-06-26 19:56:04 -0400 |
commit | 6f6d525683d5731d55fcd801a66b078bd6ba8369 (patch) | |
tree | c295db39d125280be618f4aa442f31445958c540 /doc/lispintro/emacs-lisp-intro.texi | |
parent | 12c77f6918c4a60dbbae3f716a58300b4026e8da (diff) | |
download | emacs-6f6d525683d5731d55fcd801a66b078bd6ba8369.tar.gz emacs-6f6d525683d5731d55fcd801a66b078bd6ba8369.tar.bz2 emacs-6f6d525683d5731d55fcd801a66b078bd6ba8369.zip |
Detect a non-list package archive content properly (Bug#22311)
* lisp/emacs-lisp/package.el (package--download-one-archive): Use
`read' instead of `read-from-string'; the latter always returns a
cons, so the `listp' check on its return value doesn't make sense. It
was changed from `read' to `read-from-string' in 2015-04-01 "*
emacs-lisp/package.el: Implement asynchronous refreshing", but that
change was not needed because `read' works fine on strings as well as
buffers.
Diffstat (limited to 'doc/lispintro/emacs-lisp-intro.texi')
0 files changed, 0 insertions, 0 deletions