tags 22311 + patch quit Tao Fang writes: > There is a misused function read-from-string in package.el L1485: > > 1472 (defun package--download-one-archive (archive file &optional async) > 1485 (when (listp (read-from-string content)) > (listp (read-from-string content)) will always return t, if archive-contents file download > finished with malformed content (e.g. error message return from proxy > server), it will be parsed and saved by mistake. > > Simply replace (read-from-string) with (read) would resolve this, I think. Right, seems it's a regression in 25.1. So I think the patch below should go to emacs-26.