Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8ad2ee33
Commit
8ad2ee33
authored
Feb 02, 2015
by
Artur Malabarba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
emacs-lisp/package.el (package--get-deps): Fix returning duplicates.
parent
ef6fa2fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
lisp/ChangeLog
lisp/ChangeLog
+1
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+3
-3
No files found.
lisp/ChangeLog
View file @
8ad2ee33
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
function.
function.
(package-initialize): Use it to populate `package-selected-packages'.
(package-initialize): Use it to populate `package-selected-packages'.
(package-menu-execute): Clean unnecessary `and'.
(package-menu-execute): Clean unnecessary `and'.
(package--get-deps): Fix returning duplicates.
2015-02-02 Michael Albinus <michael.albinus@gmx.de>
2015-02-02 Michael Albinus <michael.albinus@gmx.de>
...
...
lisp/emacs-lisp/package.el
View file @
8ad2ee33
...
@@ -1428,9 +1428,9 @@ The file can either be a tar file or an Emacs Lisp file."
...
@@ -1428,9 +1428,9 @@ The file can either be a tar file or an Emacs Lisp file."
when (assq name package-alist)
when (assq name package-alist)
collect name))
collect name))
(indirect-deps (unless (eq only 'direct)
(indirect-deps (unless (eq only 'direct)
(
apply #'append
(
delete-dups
direct-deps
(cl-loop for p in
direct-deps
(mapcar #'
package--get-deps
direct-deps
)))))
append (
package--get-deps
p)
)))))
(cl-case only
(cl-case only
(direct direct-deps)
(direct direct-deps)
(separate (list direct-deps indirect-deps))
(separate (list direct-deps indirect-deps))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment