Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3ccbda73
Commit
3ccbda73
authored
Jan 18, 2015
by
Artur Malabarba
Browse files
package.el (package--append-to-alist): Renamed from `add-to-alist'
parent
253d44bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+3
-3
No files found.
lisp/ChangeLog
View file @
3ccbda73
2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
* emacs-lisp/package.el (package--append-to-alist): Renamed from
`package--add-to-alist'
2015-01-18 Leo Liu <sdl.web@gmail.com>
* emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
...
...
lisp/emacs-lisp/package.el
View file @
3ccbda73
...
...
@@ -1154,9 +1154,9 @@ Also, add the originating archive to the `package-desc' structure."
(when (not (and pinned-to-archive
(not (equal (cdr pinned-to-archive) archive))))
(setq package-archive-contents
(package--a
d
d-to-alist pkg-desc package-archive-contents)))))
(package--a
ppen
d-to-alist pkg-desc package-archive-contents)))))
(defun package--a
d
d-to-alist (pkg-desc alist)
(defun package--a
ppen
d-to-alist (pkg-desc alist)
"
Add
PKG-DESC
to
ALIST.
Packages
are
grouped
by
name.
The
package
descriptions
are
sorted
...
...
@@ -2100,7 +2100,7 @@ If optional arg BUTTON is non-nil, describe its associated package."
(
cond
((
member
status
'
(
"installed"
"unsigned"
))
(
push
pkg-desc
installed
))
((
member
status
'
(
"available"
"new"
))
(
setq
available
(
package--a
d
d-to-alist
pkg-desc
available
))))))
(
setq
available
(
package--a
ppen
d-to-alist
pkg-desc
available
))))))
;; Loop through list of installed packages, finding upgrades.
(
dolist
(
pkg-desc
installed
)
(
let*
((
name
(
package-desc-name
pkg-desc
))
...
...
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