Versions read from .entry files will always be plain data, not clstructs

I'm guessing there was a package-desc-vers defalias, which has been
removed in the latest HEAD Emacs. But in any case, its use was
inappropriate here.
This commit is contained in:
Steve Purcell 2014-03-27 12:38:26 +00:00
parent 7eea9a4aa1
commit b05a2e1299

View file

@ -1119,8 +1119,8 @@ If FILE-NAME is not specified, the default archive-contents file is used."
entries)
(let ((old (assq (car new) entries)))
(when old
(when (version-list-< (package-desc-vers (cdr new))
(package-desc-vers (cdr old)))
(when (version-list-< (elt (cdr new) 0)
(elt (cdr old) 0))
;; swap old and new
(cl-rotatef old new))
(pb/remove-archive-files old)