* lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic
(Bug#20930)
This commit is contained in:
parent
79310d736c
commit
0dfea4562e
1 changed files with 4 additions and 2 deletions
|
@ -2596,9 +2596,11 @@ to their archives."
|
|||
(out))
|
||||
(while pkg-list
|
||||
(let ((p (pop pkg-list)))
|
||||
(if (>= (package-desc-priority p) max-priority)
|
||||
(let ((priority (package-desc-priority p)))
|
||||
(if (< priority max-priority)
|
||||
(setq pkg-list nil)
|
||||
(push p out)
|
||||
(setq pkg-list nil))))
|
||||
(setq max-priority priority)))))
|
||||
(nreverse out)))
|
||||
(pkg-list
|
||||
(list (car pkg-list))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue