mirror of
https://github.com/correl/melpa.git
synced 2024-11-22 19:18:39 +00:00
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:
parent
7eea9a4aa1
commit
b05a2e1299
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue