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
abd1ae34
Commit
abd1ae34
authored
Oct 01, 2013
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/emacs-lisp/package.el (package-desc): Simplify.
Fixes: debbugs:15495
parent
be4e325d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+5
-6
No files found.
lisp/ChangeLog
View file @
abd1ae34
2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
* vc/vc-git.el (vc-git-grep): Disable pager.
...
...
lisp/emacs-lisp/package.el
View file @
abd1ae34
...
...
@@ -309,13 +309,12 @@ contrast, `package-user-dir' contains packages for personal use."
(
kind
(
plist-get
rest-plist
:kind
))
(
archive
(
plist-get
rest-plist
:archive
))
(
extras
(
let
(
alist
)
(
cl-remf
rest-plist
:kind
)
(
cl-remf
rest-plist
:archive
)
(
while
rest-plist
(
let
((
value
(
cadr
rest-plist
)))
(
when
value
(
push
(
cons
(
car
rest-plist
)
value
)
alist
)))
(
unless
(
memq
(
car
rest-plist
)
'
(
:kind
:archive
))
(
let
((
value
(
cadr
rest-plist
)))
(
when
value
(
push
(
cons
(
car
rest-plist
)
value
)
alist
))))
(
setq
rest-plist
(
cddr
rest-plist
)))
alist
)))))
"Structure containing information about an individual package.
...
...
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